Package net.minecraft.world.poi
Class PointOfInterestType
java.lang.Object
net.minecraft.world.poi.PointOfInterestType
- Mappings:
Namespace Name official bjdintermediary net/minecraft/class_4158named net/minecraft/world/poi/PointOfInterestType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Predicate<PointOfInterestType>static final PointOfInterestTypeprivate static final Set<BlockState>static final PointOfInterestTypestatic final PointOfInterestTypeprivate static final Map<BlockState,PointOfInterestType> private final Set<BlockState>static final PointOfInterestTypestatic final PointOfInterestTypeprivate static final Set<BlockState>static final PointOfInterestTypeprivate final Predicate<PointOfInterestType>static final PointOfInterestTypestatic final PointOfInterestTypestatic final PointOfInterestTypestatic final PointOfInterestTypeprivate final Stringstatic final Predicate<PointOfInterestType>static final PointOfInterestTypestatic final PointOfInterestTypestatic final PointOfInterestTypestatic final PointOfInterestTypestatic final PointOfInterestTypestatic final PointOfInterestTypestatic final PointOfInterestTypestatic final PointOfInterestTypeprotected static final Set<BlockState>private final intstatic final PointOfInterestTypeprivate final intstatic final PointOfInterestTypestatic final PointOfInterestTypeprivate static final Supplier<Set<PointOfInterestType>>static final PointOfInterestType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePointOfInterestType(String id, Set<BlockState> blockStates, int ticketCount, int searchDistance) privatePointOfInterestType(String id, Set<BlockState> blockStates, int ticketCount, Predicate<PointOfInterestType> completionCondition, int searchDistance) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(BlockState state) static Optional<PointOfInterestType>from(BlockState state) private static Set<BlockState>getAllStatesOf(Block block) getId()intintprivate static PointOfInterestTyperegister(String id, Set<BlockState> workStationStates, int ticketCount, int searchDistance) private static PointOfInterestTyperegister(String id, Set<BlockState> workStationStates, int ticketCount, Predicate<PointOfInterestType> completionCondition, int searchDistance) private static PointOfInterestTypesetup(PointOfInterestType poiType) toString()
-
Field Details
-
VILLAGER_WORKSTATIONS
- Mappings:
Namespace Name Mixin selector official zLbjd;z:Ljava/util/function/Supplier;intermediary field_25163Lnet/minecraft/class_4158;field_25163:Ljava/util/function/Supplier;named VILLAGER_WORKSTATIONSLnet/minecraft/world/poi/PointOfInterestType;VILLAGER_WORKSTATIONS:Ljava/util/function/Supplier;
-
IS_USED_BY_PROFESSION
- Mappings:
Namespace Name Mixin selector official aLbjd;a:Ljava/util/function/Predicate;intermediary field_18500Lnet/minecraft/class_4158;field_18500:Ljava/util/function/Predicate;named IS_USED_BY_PROFESSIONLnet/minecraft/world/poi/PointOfInterestType;IS_USED_BY_PROFESSION:Ljava/util/function/Predicate;
-
ALWAYS_TRUE
- Mappings:
Namespace Name Mixin selector official bLbjd;b:Ljava/util/function/Predicate;intermediary field_18501Lnet/minecraft/class_4158;field_18501:Ljava/util/function/Predicate;named ALWAYS_TRUELnet/minecraft/world/poi/PointOfInterestType;ALWAYS_TRUE:Ljava/util/function/Predicate;
-
BED_STATES
- Mappings:
Namespace Name Mixin selector official ALbjd;A:Ljava/util/Set;intermediary field_19227Lnet/minecraft/class_4158;field_19227:Ljava/util/Set;named BED_STATESLnet/minecraft/world/poi/PointOfInterestType;BED_STATES:Ljava/util/Set;
-
CAULDRON_STATES
- Mappings:
Namespace Name Mixin selector official BLbjd;B:Ljava/util/Set;intermediary field_30267Lnet/minecraft/class_4158;field_30267:Ljava/util/Set;named CAULDRON_STATESLnet/minecraft/world/poi/PointOfInterestType;CAULDRON_STATES:Ljava/util/Set;
-
BLOCK_STATE_TO_POINT_OF_INTEREST_TYPE
- Mappings:
Namespace Name Mixin selector official CLbjd;C:Ljava/util/Map;intermediary field_18849Lnet/minecraft/class_4158;field_18849:Ljava/util/Map;named BLOCK_STATE_TO_POINT_OF_INTEREST_TYPELnet/minecraft/world/poi/PointOfInterestType;BLOCK_STATE_TO_POINT_OF_INTEREST_TYPE:Ljava/util/Map;
-
UNEMPLOYED
- Mappings:
Namespace Name Mixin selector official cLbjd;c:Lbjd;intermediary field_18502Lnet/minecraft/class_4158;field_18502:Lnet/minecraft/class_4158;named UNEMPLOYEDLnet/minecraft/world/poi/PointOfInterestType;UNEMPLOYED:Lnet/minecraft/world/poi/PointOfInterestType;
-
ARMORER
- Mappings:
Namespace Name Mixin selector official dLbjd;d:Lbjd;intermediary field_18503Lnet/minecraft/class_4158;field_18503:Lnet/minecraft/class_4158;named ARMORERLnet/minecraft/world/poi/PointOfInterestType;ARMORER:Lnet/minecraft/world/poi/PointOfInterestType;
-
BUTCHER
- Mappings:
Namespace Name Mixin selector official eLbjd;e:Lbjd;intermediary field_18504Lnet/minecraft/class_4158;field_18504:Lnet/minecraft/class_4158;named BUTCHERLnet/minecraft/world/poi/PointOfInterestType;BUTCHER:Lnet/minecraft/world/poi/PointOfInterestType;
-
CARTOGRAPHER
- Mappings:
Namespace Name Mixin selector official fLbjd;f:Lbjd;intermediary field_18505Lnet/minecraft/class_4158;field_18505:Lnet/minecraft/class_4158;named CARTOGRAPHERLnet/minecraft/world/poi/PointOfInterestType;CARTOGRAPHER:Lnet/minecraft/world/poi/PointOfInterestType;
-
CLERIC
- Mappings:
Namespace Name Mixin selector official gLbjd;g:Lbjd;intermediary field_18506Lnet/minecraft/class_4158;field_18506:Lnet/minecraft/class_4158;named CLERICLnet/minecraft/world/poi/PointOfInterestType;CLERIC:Lnet/minecraft/world/poi/PointOfInterestType;
-
FARMER
- Mappings:
Namespace Name Mixin selector official hLbjd;h:Lbjd;intermediary field_18507Lnet/minecraft/class_4158;field_18507:Lnet/minecraft/class_4158;named FARMERLnet/minecraft/world/poi/PointOfInterestType;FARMER:Lnet/minecraft/world/poi/PointOfInterestType;
-
FISHERMAN
- Mappings:
Namespace Name Mixin selector official iLbjd;i:Lbjd;intermediary field_18508Lnet/minecraft/class_4158;field_18508:Lnet/minecraft/class_4158;named FISHERMANLnet/minecraft/world/poi/PointOfInterestType;FISHERMAN:Lnet/minecraft/world/poi/PointOfInterestType;
-
FLETCHER
- Mappings:
Namespace Name Mixin selector official jLbjd;j:Lbjd;intermediary field_18509Lnet/minecraft/class_4158;field_18509:Lnet/minecraft/class_4158;named FLETCHERLnet/minecraft/world/poi/PointOfInterestType;FLETCHER:Lnet/minecraft/world/poi/PointOfInterestType;
-
LEATHERWORKER
- Mappings:
Namespace Name Mixin selector official kLbjd;k:Lbjd;intermediary field_18510Lnet/minecraft/class_4158;field_18510:Lnet/minecraft/class_4158;named LEATHERWORKERLnet/minecraft/world/poi/PointOfInterestType;LEATHERWORKER:Lnet/minecraft/world/poi/PointOfInterestType;
-
LIBRARIAN
- Mappings:
Namespace Name Mixin selector official lLbjd;l:Lbjd;intermediary field_18511Lnet/minecraft/class_4158;field_18511:Lnet/minecraft/class_4158;named LIBRARIANLnet/minecraft/world/poi/PointOfInterestType;LIBRARIAN:Lnet/minecraft/world/poi/PointOfInterestType;
-
MASON
- Mappings:
Namespace Name Mixin selector official mLbjd;m:Lbjd;intermediary field_18512Lnet/minecraft/class_4158;field_18512:Lnet/minecraft/class_4158;named MASONLnet/minecraft/world/poi/PointOfInterestType;MASON:Lnet/minecraft/world/poi/PointOfInterestType;
-
NITWIT
- Mappings:
Namespace Name Mixin selector official nLbjd;n:Lbjd;intermediary field_18513Lnet/minecraft/class_4158;field_18513:Lnet/minecraft/class_4158;named NITWITLnet/minecraft/world/poi/PointOfInterestType;NITWIT:Lnet/minecraft/world/poi/PointOfInterestType;
-
SHEPHERD
- Mappings:
Namespace Name Mixin selector official oLbjd;o:Lbjd;intermediary field_18514Lnet/minecraft/class_4158;field_18514:Lnet/minecraft/class_4158;named SHEPHERDLnet/minecraft/world/poi/PointOfInterestType;SHEPHERD:Lnet/minecraft/world/poi/PointOfInterestType;
-
TOOLSMITH
- Mappings:
Namespace Name Mixin selector official pLbjd;p:Lbjd;intermediary field_18515Lnet/minecraft/class_4158;field_18515:Lnet/minecraft/class_4158;named TOOLSMITHLnet/minecraft/world/poi/PointOfInterestType;TOOLSMITH:Lnet/minecraft/world/poi/PointOfInterestType;
-
WEAPONSMITH
- Mappings:
Namespace Name Mixin selector official qLbjd;q:Lbjd;intermediary field_18516Lnet/minecraft/class_4158;field_18516:Lnet/minecraft/class_4158;named WEAPONSMITHLnet/minecraft/world/poi/PointOfInterestType;WEAPONSMITH:Lnet/minecraft/world/poi/PointOfInterestType;
-
HOME
- Mappings:
Namespace Name Mixin selector official rLbjd;r:Lbjd;intermediary field_18517Lnet/minecraft/class_4158;field_18517:Lnet/minecraft/class_4158;named HOMELnet/minecraft/world/poi/PointOfInterestType;HOME:Lnet/minecraft/world/poi/PointOfInterestType;
-
MEETING
- Mappings:
Namespace Name Mixin selector official sLbjd;s:Lbjd;intermediary field_18518Lnet/minecraft/class_4158;field_18518:Lnet/minecraft/class_4158;named MEETINGLnet/minecraft/world/poi/PointOfInterestType;MEETING:Lnet/minecraft/world/poi/PointOfInterestType;
-
BEEHIVE
- Mappings:
Namespace Name Mixin selector official tLbjd;t:Lbjd;intermediary field_20351Lnet/minecraft/class_4158;field_20351:Lnet/minecraft/class_4158;named BEEHIVELnet/minecraft/world/poi/PointOfInterestType;BEEHIVE:Lnet/minecraft/world/poi/PointOfInterestType;
-
BEE_NEST
- Mappings:
Namespace Name Mixin selector official uLbjd;u:Lbjd;intermediary field_20352Lnet/minecraft/class_4158;field_20352:Lnet/minecraft/class_4158;named BEE_NESTLnet/minecraft/world/poi/PointOfInterestType;BEE_NEST:Lnet/minecraft/world/poi/PointOfInterestType;
-
NETHER_PORTAL
- Mappings:
Namespace Name Mixin selector official vLbjd;v:Lbjd;intermediary field_20632Lnet/minecraft/class_4158;field_20632:Lnet/minecraft/class_4158;named NETHER_PORTALLnet/minecraft/world/poi/PointOfInterestType;NETHER_PORTAL:Lnet/minecraft/world/poi/PointOfInterestType;
-
LODESTONE
- Mappings:
Namespace Name Mixin selector official wLbjd;w:Lbjd;intermediary field_23229Lnet/minecraft/class_4158;field_23229:Lnet/minecraft/class_4158;named LODESTONELnet/minecraft/world/poi/PointOfInterestType;LODESTONE:Lnet/minecraft/world/poi/PointOfInterestType;
-
LIGHTNING_ROD
- Mappings:
Namespace Name Mixin selector official xLbjd;x:Lbjd;intermediary field_27010Lnet/minecraft/class_4158;field_27010:Lnet/minecraft/class_4158;named LIGHTNING_RODLnet/minecraft/world/poi/PointOfInterestType;LIGHTNING_ROD:Lnet/minecraft/world/poi/PointOfInterestType;
-
REGISTERED_STATES
- Mappings:
Namespace Name Mixin selector official yLbjd;y:Ljava/util/Set;intermediary field_25162Lnet/minecraft/class_4158;field_25162:Ljava/util/Set;named REGISTERED_STATESLnet/minecraft/world/poi/PointOfInterestType;REGISTERED_STATES:Ljava/util/Set;
-
id
- Mappings:
Namespace Name Mixin selector official DLbjd;D:Ljava/lang/String;intermediary field_18519Lnet/minecraft/class_4158;field_18519:Ljava/lang/String;named idLnet/minecraft/world/poi/PointOfInterestType;id:Ljava/lang/String;
-
blockStates
- Mappings:
Namespace Name Mixin selector official ELbjd;E:Ljava/util/Set;intermediary field_18850Lnet/minecraft/class_4158;field_18850:Ljava/util/Set;named blockStatesLnet/minecraft/world/poi/PointOfInterestType;blockStates:Ljava/util/Set;
-
ticketCount
private final int ticketCount- Mappings:
Namespace Name Mixin selector official FLbjd;F:Iintermediary field_18521Lnet/minecraft/class_4158;field_18521:Inamed ticketCountLnet/minecraft/world/poi/PointOfInterestType;ticketCount:I
-
completionCondition
- Mappings:
Namespace Name Mixin selector official GLbjd;G:Ljava/util/function/Predicate;intermediary field_18523Lnet/minecraft/class_4158;field_18523:Ljava/util/function/Predicate;named completionConditionLnet/minecraft/world/poi/PointOfInterestType;completionCondition:Ljava/util/function/Predicate;
-
searchDistance
private final int searchDistance- Mappings:
Namespace Name Mixin selector official HLbjd;H:Iintermediary field_20298Lnet/minecraft/class_4158;field_20298:Inamed searchDistanceLnet/minecraft/world/poi/PointOfInterestType;searchDistance:I
-
-
Constructor Details
-
PointOfInterestType
private PointOfInterestType(String id, Set<BlockState> blockStates, int ticketCount, Predicate<PointOfInterestType> completionCondition, int searchDistance) - Mappings:
Namespace Name Mixin selector official <init>Lbjd;<init>(Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)Vintermediary <init>Lnet/minecraft/class_4158;<init>(Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)Vnamed <init>Lnet/minecraft/world/poi/PointOfInterestType;<init>(Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)V
-
PointOfInterestType
private PointOfInterestType(String id, Set<BlockState> blockStates, int ticketCount, int searchDistance) - Mappings:
Namespace Name Mixin selector official <init>Lbjd;<init>(Ljava/lang/String;Ljava/util/Set;II)Vintermediary <init>Lnet/minecraft/class_4158;<init>(Ljava/lang/String;Ljava/util/Set;II)Vnamed <init>Lnet/minecraft/world/poi/PointOfInterestType;<init>(Ljava/lang/String;Ljava/util/Set;II)V
-
-
Method Details
-
getAllStatesOf
- Mappings:
Namespace Name Mixin selector official aLbjd;a(Lcfr;)Ljava/util/Set;intermediary method_20356Lnet/minecraft/class_4158;method_20356(Lnet/minecraft/class_2248;)Ljava/util/Set;named getAllStatesOfLnet/minecraft/world/poi/PointOfInterestType;getAllStatesOf(Lnet/minecraft/block/Block;)Ljava/util/Set;
-
getId
- Mappings:
Namespace Name Mixin selector official aLbjd;a()Ljava/lang/String;intermediary method_35158Lnet/minecraft/class_4158;method_35158()Ljava/lang/String;named getIdLnet/minecraft/world/poi/PointOfInterestType;getId()Ljava/lang/String;
-
getTicketCount
public int getTicketCount()- Mappings:
Namespace Name Mixin selector official bLbjd;b()Iintermediary method_19161Lnet/minecraft/class_4158;method_19161()Inamed getTicketCountLnet/minecraft/world/poi/PointOfInterestType;getTicketCount()I
-
getCompletionCondition
- Mappings:
Namespace Name Mixin selector official cLbjd;c()Ljava/util/function/Predicate;intermediary method_19164Lnet/minecraft/class_4158;method_19164()Ljava/util/function/Predicate;named getCompletionConditionLnet/minecraft/world/poi/PointOfInterestType;getCompletionCondition()Ljava/util/function/Predicate;
-
contains
- Mappings:
Namespace Name Mixin selector official aLbjd;a(Lcrk;)Zintermediary method_35159Lnet/minecraft/class_4158;method_35159(Lnet/minecraft/class_2680;)Znamed containsLnet/minecraft/world/poi/PointOfInterestType;contains(Lnet/minecraft/block/BlockState;)Z
-
getSearchDistance
public int getSearchDistance()- Mappings:
Namespace Name Mixin selector official dLbjd;d()Iintermediary method_21648Lnet/minecraft/class_4158;method_21648()Inamed getSearchDistanceLnet/minecraft/world/poi/PointOfInterestType;getSearchDistance()I
-
toString
-
register
private static PointOfInterestType register(String id, Set<BlockState> workStationStates, int ticketCount, int searchDistance) - Mappings:
Namespace Name Mixin selector official aLbjd;a(Ljava/lang/String;Ljava/util/Set;II)Lbjd;intermediary method_20357Lnet/minecraft/class_4158;method_20357(Ljava/lang/String;Ljava/util/Set;II)Lnet/minecraft/class_4158;named registerLnet/minecraft/world/poi/PointOfInterestType;register(Ljava/lang/String;Ljava/util/Set;II)Lnet/minecraft/world/poi/PointOfInterestType;
-
register
private static PointOfInterestType register(String id, Set<BlockState> workStationStates, int ticketCount, Predicate<PointOfInterestType> completionCondition, int searchDistance) - Mappings:
Namespace Name Mixin selector official aLbjd;a(Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)Lbjd;intermediary method_20358Lnet/minecraft/class_4158;method_20358(Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)Lnet/minecraft/class_4158;named registerLnet/minecraft/world/poi/PointOfInterestType;register(Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)Lnet/minecraft/world/poi/PointOfInterestType;
-
setup
- Mappings:
Namespace Name Mixin selector official aLbjd;a(Lbjd;)Lbjd;intermediary method_20354Lnet/minecraft/class_4158;method_20354(Lnet/minecraft/class_4158;)Lnet/minecraft/class_4158;named setupLnet/minecraft/world/poi/PointOfInterestType;setup(Lnet/minecraft/world/poi/PointOfInterestType;)Lnet/minecraft/world/poi/PointOfInterestType;
-
from
- Mappings:
Namespace Name Mixin selector official bLbjd;b(Lcrk;)Ljava/util/Optional;intermediary method_19516Lnet/minecraft/class_4158;method_19516(Lnet/minecraft/class_2680;)Ljava/util/Optional;named fromLnet/minecraft/world/poi/PointOfInterestType;from(Lnet/minecraft/block/BlockState;)Ljava/util/Optional;
-