Class LandPathNodeTypesRegistry

java.lang.Object
net.fabricmc.fabric.api.registry.LandPathNodeTypesRegistry

public final class LandPathNodeTypesRegistry extends Object
A registry to associate block states with specific path node types. Specifying a node type for a block will change the way an entity recognizes the block when trying to pathfind. You can make a safe block dangerous and vice-versa. This works only for entities that move on air and land. Duplicated registrations for the same block will replace the previous registration entry.