Skip to content

Mappings

Matthew Denton edited this page Dec 15, 2020 · 2 revisions

The mapping.txt file stores all the mapped values to compare materials against when the plugin is loaded. Each line in this file is a new entry.

Values

  • TRANSPARENT - Any matching block is ignored (for example grass and flowers).
  • ALWAYS - Mobs can spawn on matching blocks (for example stone or wood).
  • NEVER - Mobs can never spawn on this kind of block but is still solid (for example a chest).

How it works

The lines are split into key value pairs like in a config file. The key can have a * modifier used which makes it ignore anything before/after where it is. See below in the example. If the modifier is not present then it must be an exact match.

GRASS: TRANSPARENT  - Grass will be transparent but Grass_Block will not be.
*Fence: NEVER       - Birch_Fence, Oak_Fence etc will grouped into this but not Oak_Fence_Gate.
*Fence*: NEVER      - Anything containing "Fence" will be grouped to be NEVER such as Oak_Fence_Gate and Birch_Fence.

Quick Links

If you appreciate the work I do and want to support me you can donate here.

Clone this wiki locally