Class PoiTypes
java.lang.Object
net.minecraft.world.entity.ai.village.poi.PoiTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceKey<PoiType> private static final Set<BlockState> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> private static final Set<BlockState> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> static final ResourceKey<PoiType> private static final Map<BlockState, Holder<PoiType>> static final ResourceKey<PoiType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PoiTypeprivate static ResourceKey<PoiType> forState(BlockState state) private static Set<BlockState> getBlockStates(Block block) static booleanhasPoi(BlockState state) private static PoiTyperegister(Registry<PoiType> key, ResourceKey<PoiType> value, Set<BlockState> matchingStates, int maxTickets, int validRange) private static voidregisterBlockStates(Holder<PoiType> poi, Set<BlockState> states)
-
Field Details
-
ARMORER
-
BUTCHER
-
CARTOGRAPHER
-
CLERIC
-
FARMER
-
FISHERMAN
-
FLETCHER
-
LEATHERWORKER
-
LIBRARIAN
-
MASON
-
SHEPHERD
-
TOOLSMITH
-
WEAPONSMITH
-
HOME
-
MEETING
-
BEEHIVE
-
BEE_NEST
-
NETHER_PORTAL
-
LODESTONE
-
LIGHTNING_ROD
-
TEST_INSTANCE
-
BEDS
-
CAULDRONS
-
TYPE_BY_STATE
-
-
Constructor Details
-
PoiTypes
public PoiTypes()
-
-
Method Details
-
getBlockStates
-
createKey
-
register
private static PoiType register(Registry<PoiType> key, ResourceKey<PoiType> value, Set<BlockState> matchingStates, int maxTickets, int validRange) -
registerBlockStates
-
forState
-
hasPoi
-
bootstrap
-