Package dev.wyck.worldgen.structure.templatesystem.rule
package dev.wyck.worldgen.structure.templatesystem.rule
-
InterfacesClassDescriptionGives the block entity a loot table, as trail ruins do for suspicious gravel.Merges fixed data into the block entity.Passes with a chance that moves linearly with the block's distance from the template's origin, measured along one axis.Wraps Minecraft's RuleBlockEntityModifier: what a processor rule does to the block entity data of the block it replaces, such as filling a suspicious sand block with loot.Removes the block entity data.Passes with a chance that moves linearly with the block's distance from the template's origin.Keeps the block entity data as it is.Passes for every position.Wraps Minecraft's PosRuleTest: a test on where a block sits within a template, used by a processor rule to vary its chance of applying with distance from the template's origin.