Repository navigation
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.
- 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).
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.