Package net.minecraft.village
Class PointOfInterestType
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<PointOfInterestType>
net.minecraft.village.PointOfInterestType
- All Implemented Interfaces:
IForgeRegistryEntry<PointOfInterestType>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Predicate<PointOfInterestType>
private static final Supplier<Set<PointOfInterestType>>
static final Predicate<PointOfInterestType>
protected static final Set<BlockState>
static final PointOfInterestType
private static final Set<BlockState>
static final PointOfInterestType
static final PointOfInterestType
static final PointOfInterestType
static final PointOfInterestType
static final PointOfInterestType
static final PointOfInterestType
static final PointOfInterestType
static final PointOfInterestType
static final PointOfInterestType
static final PointOfInterestType
static final PointOfInterestType
static final PointOfInterestType
static final PointOfInterestType
private final Set<BlockState>
private final int
static final PointOfInterestType
private final String
static final PointOfInterestType
static final PointOfInterestType
private final Predicate<PointOfInterestType>
static final PointOfInterestType
static final PointOfInterestType
private static final Map<BlockState,
PointOfInterestType> static final PointOfInterestType
private final int
static final PointOfInterestType
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
ConstructorDescriptionPointOfInterestType
(String p_i225712_1_, Set<BlockState> p_i225712_2_, int p_i225712_3_, int p_i225712_4_) PointOfInterestType
(String p_i225713_1_, Set<BlockState> p_i225713_2_, int p_i225713_3_, Predicate<PointOfInterestType> p_i225713_4_, int p_i225713_5_) -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<PointOfInterestType>
forState
(BlockState p_221047_0_) com.google.common.collect.ImmutableSet<BlockState>
static Set<BlockState>
getBlockStates
(Block p_221042_0_) int
int
private static PointOfInterestType
register
(String p_226359_0_, Set<BlockState> p_226359_1_, int p_226359_2_, int p_226359_3_) private static PointOfInterestType
register
(String p_226360_0_, Set<BlockState> p_226360_1_, int p_226360_2_, Predicate<PointOfInterestType> p_226360_3_, int p_226360_4_) private static PointOfInterestType
registerBlockStates
(PointOfInterestType p_221052_0_) toString()
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
ALL_JOB_POI_TYPES
-
ALL_JOBS
-
ALL
-
BEDS
-
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
-
ALL_STATES
-
name
-
matchingStates
-
maxTickets
private final int maxTickets -
predicate
-
validRange
private final int validRange
-
-
Constructor Details
-
PointOfInterestType
public PointOfInterestType(String p_i225713_1_, Set<BlockState> p_i225713_2_, int p_i225713_3_, Predicate<PointOfInterestType> p_i225713_4_, int p_i225713_5_) -
PointOfInterestType
public PointOfInterestType(String p_i225712_1_, Set<BlockState> p_i225712_2_, int p_i225712_3_, int p_i225712_4_)
-
-
Method Details
-
getBlockStates
-
getMaxTickets
public int getMaxTickets() -
getPredicate
-
getValidRange
public int getValidRange() -
toString
-
register
private static PointOfInterestType register(String p_226359_0_, Set<BlockState> p_226359_1_, int p_226359_2_, int p_226359_3_) -
register
private static PointOfInterestType register(String p_226360_0_, Set<BlockState> p_226360_1_, int p_226360_2_, Predicate<PointOfInterestType> p_226360_3_, int p_226360_4_) -
registerBlockStates
-
forState
-
getBlockStates
-