Class PoiType
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<PoiType>
net.minecraft.world.entity.ai.village.poi.PoiType
- All Implemented Interfaces:
IForgeRegistryEntry<PoiType>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Modifier and TypeFieldDescriptionprotected static Set<BlockState>
static PoiType
private static Set<BlockState>
static PoiType
static PoiType
static PoiType
static PoiType
private static Set<BlockState>
static PoiType
static PoiType
static PoiType
static PoiType
static PoiType
static PoiType
static PoiType
static PoiType
static PoiType
static PoiType
private Set<BlockState>
private int
static PoiType
private String
static PoiType
static PoiType
static PoiType
static PoiType
private static Map<BlockState,PoiType>
static PoiType
private int
static PoiType
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
ConstructorDescriptionPoiType(String p_27357_, Set<BlockState> p_27358_, int p_27359_, int p_27360_)
PoiType(String p_27362_, Set<BlockState> p_27363_, int p_27364_, Predicate<PoiType> p_27365_, int p_27366_)
-
Method Summary
Modifier and TypeMethodDescriptionforState(BlockState p_27391_)
com.google.common.collect.ImmutableSet<BlockState>
static Set<BlockState>
getBlockStates(Block p_27373_)
int
getName()
int
boolean
is(BlockState p_148693_)
private static PoiType
register(String p_27375_, Set<BlockState> p_27376_, int p_27377_, int p_27378_)
private static PoiType
register(String p_27380_, Set<BlockState> p_27381_, int p_27382_, Predicate<PoiType> p_27383_, int p_27384_)
private static PoiType
registerBlockStates(PoiType p_27368_)
toString()
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
ALL_JOB_POI_TYPES
-
ALL_JOBS
-
ALL
-
BEDS
-
CAULDRONS
-
TYPE_BY_STATE
-
UNEMPLOYED
-
ARMORER
-
BUTCHER
-
CARTOGRAPHER
-
CLERIC
-
FARMER
-
FISHERMAN
-
FLETCHER
-
LEATHERWORKER
-
LIBRARIAN
-
MASON
-
NITWIT
-
SHEPHERD
-
TOOLSMITH
-
WEAPONSMITH
-
HOME
-
MEETING
-
BEEHIVE
-
BEE_NEST
-
NETHER_PORTAL
-
LODESTONE
-
LIGHTNING_ROD
-
ALL_STATES
-
name
-
matchingStates
-
maxTickets
private final int maxTickets -
predicate
-
validRange
private final int validRange
-
-
Constructor Details
-
PoiType
public PoiType(String p_27362_, Set<BlockState> p_27363_, int p_27364_, Predicate<PoiType> p_27365_, int p_27366_) -
PoiType
-
-
Method Details
-
getBlockStates
-
getName
-
getMaxTickets
public int getMaxTickets() -
getPredicate
-
is
-
getValidRange
public int getValidRange() -
toString
-
register
private static PoiType register(String p_27375_, Set<BlockState> p_27376_, int p_27377_, int p_27378_) -
register
-
registerBlockStates
-
forState
-
getBlockStates
-