public class PointOfInterestType extends ForgeRegistryEntry<PointOfInterestType>
delegate
Constructor and Description |
---|
PointOfInterestType(java.lang.String nameIn,
java.util.Set<BlockState> blockStatesIn,
int maxFreeTicketsIn,
int p_i225712_4_) |
PointOfInterestType(java.lang.String nameIn,
java.util.Set<BlockState> blockStatesIn,
int maxFreeTicketsIn,
java.util.function.Predicate<PointOfInterestType> p_i225713_4_,
int p_i225713_5_) |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<PointOfInterestType> |
forState(BlockState state) |
static java.util.stream.Stream<BlockState> |
getAllStates() |
static java.util.Set<BlockState> |
getAllStates(Block blockIn) |
int |
getMaxFreeTickets() |
java.util.function.Predicate<PointOfInterestType> |
getPredicate() |
int |
getValidRange() |
private static PointOfInterestType |
register(java.lang.String p_226359_0_,
java.util.Set<BlockState> p_226359_1_,
int p_226359_2_,
int p_226359_3_) |
private static PointOfInterestType |
register(java.lang.String p_226360_0_,
java.util.Set<BlockState> p_226360_1_,
int p_226360_2_,
java.util.function.Predicate<PointOfInterestType> p_226360_3_,
int p_226360_4_) |
private static PointOfInterestType |
registerBlockStates(PointOfInterestType poit) |
java.lang.String |
toString() |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
private static final java.util.function.Predicate<PointOfInterestType> ANY_VILLAGER_WORKSTATION
public static final java.util.function.Predicate<PointOfInterestType> MATCH_ANY
private static final java.util.Set<BlockState> BED_HEADS
private static final java.util.Map<BlockState,PointOfInterestType> POIT_BY_BLOCKSTATE
public static final PointOfInterestType UNEMPLOYED
public static final PointOfInterestType ARMORER
public static final PointOfInterestType BUTCHER
public static final PointOfInterestType CARTOGRAPHER
public static final PointOfInterestType CLERIC
public static final PointOfInterestType FARMER
public static final PointOfInterestType FISHERMAN
public static final PointOfInterestType FLETCHER
public static final PointOfInterestType LEATHERWORKER
public static final PointOfInterestType LIBRARIAN
public static final PointOfInterestType MASON
public static final PointOfInterestType NITWIT
public static final PointOfInterestType SHEPHERD
public static final PointOfInterestType TOOLSMITH
public static final PointOfInterestType WEAPONSMITH
public static final PointOfInterestType HOME
public static final PointOfInterestType MEETING
public static final PointOfInterestType BEEHIVE
public static final PointOfInterestType BEE_NEST
public static final PointOfInterestType NETHER_PORTAL
private final java.lang.String name
private final java.util.Set<BlockState> blockStates
private final int maxFreeTickets
private final java.util.function.Predicate<PointOfInterestType> predicate
private final int validRange
public PointOfInterestType(java.lang.String nameIn, java.util.Set<BlockState> blockStatesIn, int maxFreeTicketsIn, java.util.function.Predicate<PointOfInterestType> p_i225713_4_, int p_i225713_5_)
public PointOfInterestType(java.lang.String nameIn, java.util.Set<BlockState> blockStatesIn, int maxFreeTicketsIn, int p_i225712_4_)
public static java.util.Set<BlockState> getAllStates(Block blockIn)
public int getMaxFreeTickets()
public java.util.function.Predicate<PointOfInterestType> getPredicate()
public int getValidRange()
public java.lang.String toString()
toString
in class java.lang.Object
private static PointOfInterestType register(java.lang.String p_226359_0_, java.util.Set<BlockState> p_226359_1_, int p_226359_2_, int p_226359_3_)
private static PointOfInterestType register(java.lang.String p_226360_0_, java.util.Set<BlockState> p_226360_1_, int p_226360_2_, java.util.function.Predicate<PointOfInterestType> p_226360_3_, int p_226360_4_)
private static PointOfInterestType registerBlockStates(PointOfInterestType poit)
public static java.util.Optional<PointOfInterestType> forState(BlockState state)
public static java.util.stream.Stream<BlockState> getAllStates()