Package net.minecraft.world.poi
Class PointOfInterestType
java.lang.Object
net.minecraft.world.poi.PointOfInterestType
public class PointOfInterestType extends Object
- Mappings:
Namespace Name official bbbintermediary net/minecraft/class_4158named net/minecraft/world/poi/PointOfInterestType
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privatePointOfInterestType(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 Type Method Description static Optional<PointOfInterestType>from(BlockState state)private static Set<BlockState>getAllStatesOf(Block block)Predicate<PointOfInterestType>getCompletionCondition()intgetSearchDistance()intgetTicketCount()private 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)StringtoString()
-
Field Details
-
VILLAGER_WORKSTATIONS
- Mappings:
Namespace Name Mixin selector official zLbbb;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 aLbbb;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 bLbbb;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 ALbbb;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;
-
BLOCK_STATE_TO_POINT_OF_INTEREST_TYPE
- Mappings:
Namespace Name Mixin selector official BLbbb;B: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 cLbbb;c:Lbbb;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 dLbbb;d:Lbbb;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 eLbbb;e:Lbbb;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 fLbbb;f:Lbbb;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 gLbbb;g:Lbbb;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 hLbbb;h:Lbbb;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 iLbbb;i:Lbbb;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 jLbbb;j:Lbbb;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 kLbbb;k:Lbbb;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 lLbbb;l:Lbbb;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 mLbbb;m:Lbbb;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 nLbbb;n:Lbbb;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 oLbbb;o:Lbbb;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 pLbbb;p:Lbbb;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 qLbbb;q:Lbbb;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 rLbbb;r:Lbbb;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 sLbbb;s:Lbbb;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 tLbbb;t:Lbbb;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 uLbbb;u:Lbbb;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 vLbbb;v:Lbbb;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 wLbbb;w:Lbbb;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 xLbbb;x:Lbbb;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 yLbbb;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 CLbbb;C: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 DLbbb;D: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 ELbbb;E:Iintermediary field_18521Lnet/minecraft/class_4158;field_18521:Inamed ticketCountLnet/minecraft/world/poi/PointOfInterestType;ticketCount:I
-
completionCondition
- Mappings:
Namespace Name Mixin selector official FLbbb;F: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 GLbbb;G: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>Lbbb;<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>Lbbb;<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 aLbbb;a(Lbwu;)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;
-
getTicketCount
public int getTicketCount()- Mappings:
Namespace Name Mixin selector official bLbbb;b()Iintermediary method_19161Lnet/minecraft/class_4158;method_19161()Inamed getTicketCountLnet/minecraft/world/poi/PointOfInterestType;getTicketCount()I
-
getCompletionCondition
- Mappings:
Namespace Name Mixin selector official cLbbb;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;
-
getSearchDistance
public int getSearchDistance()- Mappings:
Namespace Name Mixin selector official dLbbb;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 aLbbb;a(Ljava/lang/String;Ljava/util/Set;II)Lbbb;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 aLbbb;a(Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)Lbbb;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 aLbbb;a(Lbbb;)Lbbb;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 bLbbb;b(Lcht;)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;
-