net.minecraft.world.poi

public class PointOfInterestTypes

net.minecraft.world.entity.ai.village.poi.PoiTypes
net.minecraft.class_7477
net.minecraft.world.poi.PointOfInterestTypes

Field summary

Modifier and TypeField
public static final RegistryKey<PointOfInterestType>
ARMORER
field_39278
ARMORER
public static final RegistryKey<PointOfInterestType>
BUTCHER
field_39279
BUTCHER
public static final RegistryKey<PointOfInterestType>
CARTOGRAPHER
field_39280
CARTOGRAPHER
public static final RegistryKey<PointOfInterestType>
CLERIC
field_39281
CLERIC
public static final RegistryKey<PointOfInterestType>
FARMER
field_39282
FARMER
public static final RegistryKey<PointOfInterestType>
FISHERMAN
field_39283
FISHERMAN
public static final RegistryKey<PointOfInterestType>
FLETCHER
field_39284
FLETCHER
public static final RegistryKey<PointOfInterestType>
LEATHERWORKER
field_39285
LEATHERWORKER
public static final RegistryKey<PointOfInterestType>
LIBRARIAN
field_39286
LIBRARIAN
public static final RegistryKey<PointOfInterestType>
MASON
field_39287
MASON
public static final RegistryKey<PointOfInterestType>
SHEPHERD
field_39288
SHEPHERD
public static final RegistryKey<PointOfInterestType>
TOOLSMITH
field_39289
TOOLSMITH
public static final RegistryKey<PointOfInterestType>
WEAPONSMITH
field_39290
WEAPONSMITH
public static final RegistryKey<PointOfInterestType>
HOME
field_39291
HOME
public static final RegistryKey<PointOfInterestType>
MEETING
field_39292
MEETING
public static final RegistryKey<PointOfInterestType>
BEEHIVE
field_39293
BEEHIVE
public static final RegistryKey<PointOfInterestType>
BEE_NEST
field_39294
BEE_NEST
public static final RegistryKey<PointOfInterestType>
NETHER_PORTAL
field_39295
NETHER_PORTAL
public static final RegistryKey<PointOfInterestType>
LODESTONE
field_39296
LODESTONE
public static final RegistryKey<PointOfInterestType>
LIGHTNING_ROD
field_39297
LIGHTNING_ROD
public static final RegistryKey<PointOfInterestType>
TEST_INSTANCE
field_60007
TEST_INSTANCE
private static final Set<BlockState>
BEDS
field_39299
BED_HEADS
private static final Set<BlockState>
CAULDRONS
field_39300
CAULDRONS
private static final Set<BlockState>
LIGHTNING_RODS
field_61256
LIGHTNING_RODS
private static final Map<BlockState, RegistryEntry<PointOfInterestType>>
TYPE_BY_STATE
field_39301
POI_STATES_TO_TYPE

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static Set<BlockState>
getBlockStates(Block block)
method_43988(class_2248 arg0)
getStatesOfBlock(Block block)
private static RegistryKey<PointOfInterestType>
createKey(String name)
method_43994(String arg0)
of(String id)
private static PointOfInterestType
register(Registry<PoiType> registry, ResourceKey<PoiType> id, Set<BlockState> matchingStates, int maxTickets, int validRange)
method_43993(class_2378<class_4158> arg0, class_5321<class_4158> arg1, Set<class_2680> arg2, int arg3, int arg4)
register(Registry<PointOfInterestType> registry, RegistryKey<PointOfInterestType> key, Set<BlockState> states, int ticketCount, int searchDistance)
private static void
registerBlockStates(Holder<PoiType> type, Set<BlockState> matchingStates)
method_43990(class_6880<class_4158> arg0, Set<class_2680> arg1)
registerStates(RegistryEntry<PointOfInterestType> poiTypeEntry, Set<BlockState> states)
public static Optional<RegistryEntry<PointOfInterestType>>
forState(BlockState state)
method_43989(class_2680 arg0)
getTypeForState(BlockState state)
public static boolean
hasPoi(BlockState state)
method_46397(class_2680 arg0)
isPointOfInterest(BlockState state)
public static PointOfInterestType
bootstrap(Registry<PoiType> registry)
method_43992(class_2378<class_4158> arg0)
registerAndGetDefault(Registry<PointOfInterestType> registry)
private static void
lambda$registerBlockStates$0(Holder arg0, BlockState arg1)
method_43991(class_6880 arg0, class_2680 arg1)
method_43991(RegistryEntry arg0, BlockState state)
private static Stream
lambda$static$3(Block arg0)
method_72456(class_2248 arg0)
method_72456(Block block)
private static Stream
lambda$static$2(Block arg0)
method_43995(class_2248 arg0)
method_43995(Block block)
private static boolean
lambda$static$1(BlockState arg0)
method_43996(class_2680 arg0)
method_43996(BlockState state)
private static Stream
lambda$static$0(Block arg0)
method_43997(class_2248 arg0)
method_43997(Block block)