Package net.minecraft.world.poi
Class PointOfInterestType
java.lang.Object
net.minecraft.world.poi.PointOfInterestType
- Mappings:
Namespace Name official bdp
intermediary net/minecraft/class_4158
named net/minecraft/world/poi/PointOfInterestType
-
Field Summary
Modifier and TypeFieldDescriptionstatic Predicate<PointOfInterestType>
static PointOfInterestType
private static Set<BlockState>
static PointOfInterestType
static PointOfInterestType
private static Map<BlockState,PointOfInterestType>
private Set<BlockState>
static PointOfInterestType
static PointOfInterestType
private static Set<BlockState>
static PointOfInterestType
private Predicate<PointOfInterestType>
static PointOfInterestType
static PointOfInterestType
static PointOfInterestType
static PointOfInterestType
private String
static Predicate<PointOfInterestType>
static PointOfInterestType
static PointOfInterestType
static PointOfInterestType
static PointOfInterestType
static PointOfInterestType
static PointOfInterestType
static PointOfInterestType
static PointOfInterestType
protected static Set<BlockState>
private int
static PointOfInterestType
private int
static PointOfInterestType
static PointOfInterestType
private static Supplier<Set<PointOfInterestType>>
static PointOfInterestType
-
Constructor Summary
ModifierConstructorDescriptionprivate
PointOfInterestType(String id, Set<BlockState> blockStates, int ticketCount, int searchDistance)
private
PointOfInterestType(String id, Set<BlockState> blockStates, int ticketCount, Predicate<PointOfInterestType> completionCondition, int searchDistance)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains(BlockState state)
static Optional<PointOfInterestType>
from(BlockState state)
private static Set<BlockState>
getAllStatesOf(Block block)
getId()
int
int
private static PointOfInterestType
register(String id, Set<BlockState> workStationStates, int ticketCount, int searchDistance)
private static PointOfInterestType
register(String id, Set<BlockState> workStationStates, int ticketCount, Predicate<PointOfInterestType> completionCondition, int searchDistance)
private static PointOfInterestType
setup(PointOfInterestType poiType)
toString()
-
Field Details
-
VILLAGER_WORKSTATIONS
- Mappings:
Namespace Name Mixin selector official z
Lbdp;z:Ljava/util/function/Supplier;
intermediary field_25163
Lnet/minecraft/class_4158;field_25163:Ljava/util/function/Supplier;
named VILLAGER_WORKSTATIONS
Lnet/minecraft/world/poi/PointOfInterestType;VILLAGER_WORKSTATIONS:Ljava/util/function/Supplier;
-
IS_USED_BY_PROFESSION
- Mappings:
Namespace Name Mixin selector official a
Lbdp;a:Ljava/util/function/Predicate;
intermediary field_18500
Lnet/minecraft/class_4158;field_18500:Ljava/util/function/Predicate;
named IS_USED_BY_PROFESSION
Lnet/minecraft/world/poi/PointOfInterestType;IS_USED_BY_PROFESSION:Ljava/util/function/Predicate;
-
ALWAYS_TRUE
- Mappings:
Namespace Name Mixin selector official b
Lbdp;b:Ljava/util/function/Predicate;
intermediary field_18501
Lnet/minecraft/class_4158;field_18501:Ljava/util/function/Predicate;
named ALWAYS_TRUE
Lnet/minecraft/world/poi/PointOfInterestType;ALWAYS_TRUE:Ljava/util/function/Predicate;
-
BED_STATES
- Mappings:
Namespace Name Mixin selector official A
Lbdp;A:Ljava/util/Set;
intermediary field_19227
Lnet/minecraft/class_4158;field_19227:Ljava/util/Set;
named BED_STATES
Lnet/minecraft/world/poi/PointOfInterestType;BED_STATES:Ljava/util/Set;
-
CAULDRON_STATES
- Mappings:
Namespace Name Mixin selector official B
Lbdp;B:Ljava/util/Set;
intermediary field_30267
Lnet/minecraft/class_4158;field_30267:Ljava/util/Set;
named CAULDRON_STATES
Lnet/minecraft/world/poi/PointOfInterestType;CAULDRON_STATES:Ljava/util/Set;
-
BLOCK_STATE_TO_POINT_OF_INTEREST_TYPE
- Mappings:
Namespace Name Mixin selector official C
Lbdp;C:Ljava/util/Map;
intermediary field_18849
Lnet/minecraft/class_4158;field_18849:Ljava/util/Map;
named BLOCK_STATE_TO_POINT_OF_INTEREST_TYPE
Lnet/minecraft/world/poi/PointOfInterestType;BLOCK_STATE_TO_POINT_OF_INTEREST_TYPE:Ljava/util/Map;
-
UNEMPLOYED
- Mappings:
Namespace Name Mixin selector official c
Lbdp;c:Lbdp;
intermediary field_18502
Lnet/minecraft/class_4158;field_18502:Lnet/minecraft/class_4158;
named UNEMPLOYED
Lnet/minecraft/world/poi/PointOfInterestType;UNEMPLOYED:Lnet/minecraft/world/poi/PointOfInterestType;
-
ARMORER
- Mappings:
Namespace Name Mixin selector official d
Lbdp;d:Lbdp;
intermediary field_18503
Lnet/minecraft/class_4158;field_18503:Lnet/minecraft/class_4158;
named ARMORER
Lnet/minecraft/world/poi/PointOfInterestType;ARMORER:Lnet/minecraft/world/poi/PointOfInterestType;
-
BUTCHER
- Mappings:
Namespace Name Mixin selector official e
Lbdp;e:Lbdp;
intermediary field_18504
Lnet/minecraft/class_4158;field_18504:Lnet/minecraft/class_4158;
named BUTCHER
Lnet/minecraft/world/poi/PointOfInterestType;BUTCHER:Lnet/minecraft/world/poi/PointOfInterestType;
-
CARTOGRAPHER
- Mappings:
Namespace Name Mixin selector official f
Lbdp;f:Lbdp;
intermediary field_18505
Lnet/minecraft/class_4158;field_18505:Lnet/minecraft/class_4158;
named CARTOGRAPHER
Lnet/minecraft/world/poi/PointOfInterestType;CARTOGRAPHER:Lnet/minecraft/world/poi/PointOfInterestType;
-
CLERIC
- Mappings:
Namespace Name Mixin selector official g
Lbdp;g:Lbdp;
intermediary field_18506
Lnet/minecraft/class_4158;field_18506:Lnet/minecraft/class_4158;
named CLERIC
Lnet/minecraft/world/poi/PointOfInterestType;CLERIC:Lnet/minecraft/world/poi/PointOfInterestType;
-
FARMER
- Mappings:
Namespace Name Mixin selector official h
Lbdp;h:Lbdp;
intermediary field_18507
Lnet/minecraft/class_4158;field_18507:Lnet/minecraft/class_4158;
named FARMER
Lnet/minecraft/world/poi/PointOfInterestType;FARMER:Lnet/minecraft/world/poi/PointOfInterestType;
-
FISHERMAN
- Mappings:
Namespace Name Mixin selector official i
Lbdp;i:Lbdp;
intermediary field_18508
Lnet/minecraft/class_4158;field_18508:Lnet/minecraft/class_4158;
named FISHERMAN
Lnet/minecraft/world/poi/PointOfInterestType;FISHERMAN:Lnet/minecraft/world/poi/PointOfInterestType;
-
FLETCHER
- Mappings:
Namespace Name Mixin selector official j
Lbdp;j:Lbdp;
intermediary field_18509
Lnet/minecraft/class_4158;field_18509:Lnet/minecraft/class_4158;
named FLETCHER
Lnet/minecraft/world/poi/PointOfInterestType;FLETCHER:Lnet/minecraft/world/poi/PointOfInterestType;
-
LEATHERWORKER
- Mappings:
Namespace Name Mixin selector official k
Lbdp;k:Lbdp;
intermediary field_18510
Lnet/minecraft/class_4158;field_18510:Lnet/minecraft/class_4158;
named LEATHERWORKER
Lnet/minecraft/world/poi/PointOfInterestType;LEATHERWORKER:Lnet/minecraft/world/poi/PointOfInterestType;
-
LIBRARIAN
- Mappings:
Namespace Name Mixin selector official l
Lbdp;l:Lbdp;
intermediary field_18511
Lnet/minecraft/class_4158;field_18511:Lnet/minecraft/class_4158;
named LIBRARIAN
Lnet/minecraft/world/poi/PointOfInterestType;LIBRARIAN:Lnet/minecraft/world/poi/PointOfInterestType;
-
MASON
- Mappings:
Namespace Name Mixin selector official m
Lbdp;m:Lbdp;
intermediary field_18512
Lnet/minecraft/class_4158;field_18512:Lnet/minecraft/class_4158;
named MASON
Lnet/minecraft/world/poi/PointOfInterestType;MASON:Lnet/minecraft/world/poi/PointOfInterestType;
-
NITWIT
- Mappings:
Namespace Name Mixin selector official n
Lbdp;n:Lbdp;
intermediary field_18513
Lnet/minecraft/class_4158;field_18513:Lnet/minecraft/class_4158;
named NITWIT
Lnet/minecraft/world/poi/PointOfInterestType;NITWIT:Lnet/minecraft/world/poi/PointOfInterestType;
-
SHEPHERD
- Mappings:
Namespace Name Mixin selector official o
Lbdp;o:Lbdp;
intermediary field_18514
Lnet/minecraft/class_4158;field_18514:Lnet/minecraft/class_4158;
named SHEPHERD
Lnet/minecraft/world/poi/PointOfInterestType;SHEPHERD:Lnet/minecraft/world/poi/PointOfInterestType;
-
TOOLSMITH
- Mappings:
Namespace Name Mixin selector official p
Lbdp;p:Lbdp;
intermediary field_18515
Lnet/minecraft/class_4158;field_18515:Lnet/minecraft/class_4158;
named TOOLSMITH
Lnet/minecraft/world/poi/PointOfInterestType;TOOLSMITH:Lnet/minecraft/world/poi/PointOfInterestType;
-
WEAPONSMITH
- Mappings:
Namespace Name Mixin selector official q
Lbdp;q:Lbdp;
intermediary field_18516
Lnet/minecraft/class_4158;field_18516:Lnet/minecraft/class_4158;
named WEAPONSMITH
Lnet/minecraft/world/poi/PointOfInterestType;WEAPONSMITH:Lnet/minecraft/world/poi/PointOfInterestType;
-
HOME
- Mappings:
Namespace Name Mixin selector official r
Lbdp;r:Lbdp;
intermediary field_18517
Lnet/minecraft/class_4158;field_18517:Lnet/minecraft/class_4158;
named HOME
Lnet/minecraft/world/poi/PointOfInterestType;HOME:Lnet/minecraft/world/poi/PointOfInterestType;
-
MEETING
- Mappings:
Namespace Name Mixin selector official s
Lbdp;s:Lbdp;
intermediary field_18518
Lnet/minecraft/class_4158;field_18518:Lnet/minecraft/class_4158;
named MEETING
Lnet/minecraft/world/poi/PointOfInterestType;MEETING:Lnet/minecraft/world/poi/PointOfInterestType;
-
BEEHIVE
- Mappings:
Namespace Name Mixin selector official t
Lbdp;t:Lbdp;
intermediary field_20351
Lnet/minecraft/class_4158;field_20351:Lnet/minecraft/class_4158;
named BEEHIVE
Lnet/minecraft/world/poi/PointOfInterestType;BEEHIVE:Lnet/minecraft/world/poi/PointOfInterestType;
-
BEE_NEST
- Mappings:
Namespace Name Mixin selector official u
Lbdp;u:Lbdp;
intermediary field_20352
Lnet/minecraft/class_4158;field_20352:Lnet/minecraft/class_4158;
named BEE_NEST
Lnet/minecraft/world/poi/PointOfInterestType;BEE_NEST:Lnet/minecraft/world/poi/PointOfInterestType;
-
NETHER_PORTAL
- Mappings:
Namespace Name Mixin selector official v
Lbdp;v:Lbdp;
intermediary field_20632
Lnet/minecraft/class_4158;field_20632:Lnet/minecraft/class_4158;
named NETHER_PORTAL
Lnet/minecraft/world/poi/PointOfInterestType;NETHER_PORTAL:Lnet/minecraft/world/poi/PointOfInterestType;
-
LODESTONE
- Mappings:
Namespace Name Mixin selector official w
Lbdp;w:Lbdp;
intermediary field_23229
Lnet/minecraft/class_4158;field_23229:Lnet/minecraft/class_4158;
named LODESTONE
Lnet/minecraft/world/poi/PointOfInterestType;LODESTONE:Lnet/minecraft/world/poi/PointOfInterestType;
-
LIGHTNING_ROD
- Mappings:
Namespace Name Mixin selector official x
Lbdp;x:Lbdp;
intermediary field_27010
Lnet/minecraft/class_4158;field_27010:Lnet/minecraft/class_4158;
named LIGHTNING_ROD
Lnet/minecraft/world/poi/PointOfInterestType;LIGHTNING_ROD:Lnet/minecraft/world/poi/PointOfInterestType;
-
REGISTERED_STATES
- Mappings:
Namespace Name Mixin selector official y
Lbdp;y:Ljava/util/Set;
intermediary field_25162
Lnet/minecraft/class_4158;field_25162:Ljava/util/Set;
named REGISTERED_STATES
Lnet/minecraft/world/poi/PointOfInterestType;REGISTERED_STATES:Ljava/util/Set;
-
id
- Mappings:
Namespace Name Mixin selector official D
Lbdp;D:Ljava/lang/String;
intermediary field_18519
Lnet/minecraft/class_4158;field_18519:Ljava/lang/String;
named id
Lnet/minecraft/world/poi/PointOfInterestType;id:Ljava/lang/String;
-
blockStates
- Mappings:
Namespace Name Mixin selector official E
Lbdp;E:Ljava/util/Set;
intermediary field_18850
Lnet/minecraft/class_4158;field_18850:Ljava/util/Set;
named blockStates
Lnet/minecraft/world/poi/PointOfInterestType;blockStates:Ljava/util/Set;
-
ticketCount
private final int ticketCount- Mappings:
Namespace Name Mixin selector official F
Lbdp;F:I
intermediary field_18521
Lnet/minecraft/class_4158;field_18521:I
named ticketCount
Lnet/minecraft/world/poi/PointOfInterestType;ticketCount:I
-
completionCondition
- Mappings:
Namespace Name Mixin selector official G
Lbdp;G:Ljava/util/function/Predicate;
intermediary field_18523
Lnet/minecraft/class_4158;field_18523:Ljava/util/function/Predicate;
named completionCondition
Lnet/minecraft/world/poi/PointOfInterestType;completionCondition:Ljava/util/function/Predicate;
-
searchDistance
private final int searchDistance- Mappings:
Namespace Name Mixin selector official H
Lbdp;H:I
intermediary field_20298
Lnet/minecraft/class_4158;field_20298:I
named searchDistance
Lnet/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>
Lbdp;<init>(Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)V
intermediary <init>
Lnet/minecraft/class_4158;<init>(Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)V
named <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>
Lbdp;<init>(Ljava/lang/String;Ljava/util/Set;II)V
intermediary <init>
Lnet/minecraft/class_4158;<init>(Ljava/lang/String;Ljava/util/Set;II)V
named <init>
Lnet/minecraft/world/poi/PointOfInterestType;<init>(Ljava/lang/String;Ljava/util/Set;II)V
-
-
Method Details
-
getAllStatesOf
- Mappings:
Namespace Name Mixin selector official a
Lbdp;a(Lbzo;)Ljava/util/Set;
intermediary method_20356
Lnet/minecraft/class_4158;method_20356(Lnet/minecraft/class_2248;)Ljava/util/Set;
named getAllStatesOf
Lnet/minecraft/world/poi/PointOfInterestType;getAllStatesOf(Lnet/minecraft/block/Block;)Ljava/util/Set;
-
getId
- Mappings:
Namespace Name Mixin selector official a
Lbdp;a()Ljava/lang/String;
intermediary method_35158
Lnet/minecraft/class_4158;method_35158()Ljava/lang/String;
named getId
Lnet/minecraft/world/poi/PointOfInterestType;getId()Ljava/lang/String;
-
getTicketCount
public int getTicketCount()- Mappings:
Namespace Name Mixin selector official b
Lbdp;b()I
intermediary method_19161
Lnet/minecraft/class_4158;method_19161()I
named getTicketCount
Lnet/minecraft/world/poi/PointOfInterestType;getTicketCount()I
-
getCompletionCondition
- Mappings:
Namespace Name Mixin selector official c
Lbdp;c()Ljava/util/function/Predicate;
intermediary method_19164
Lnet/minecraft/class_4158;method_19164()Ljava/util/function/Predicate;
named getCompletionCondition
Lnet/minecraft/world/poi/PointOfInterestType;getCompletionCondition()Ljava/util/function/Predicate;
-
contains
- Mappings:
Namespace Name Mixin selector official a
Lbdp;a(Lcks;)Z
intermediary method_35159
Lnet/minecraft/class_4158;method_35159(Lnet/minecraft/class_2680;)Z
named contains
Lnet/minecraft/world/poi/PointOfInterestType;contains(Lnet/minecraft/block/BlockState;)Z
-
getSearchDistance
public int getSearchDistance()- Mappings:
Namespace Name Mixin selector official d
Lbdp;d()I
intermediary method_21648
Lnet/minecraft/class_4158;method_21648()I
named getSearchDistance
Lnet/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 a
Lbdp;a(Ljava/lang/String;Ljava/util/Set;II)Lbdp;
intermediary method_20357
Lnet/minecraft/class_4158;method_20357(Ljava/lang/String;Ljava/util/Set;II)Lnet/minecraft/class_4158;
named register
Lnet/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 a
Lbdp;a(Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)Lbdp;
intermediary method_20358
Lnet/minecraft/class_4158;method_20358(Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)Lnet/minecraft/class_4158;
named register
Lnet/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 a
Lbdp;a(Lbdp;)Lbdp;
intermediary method_20354
Lnet/minecraft/class_4158;method_20354(Lnet/minecraft/class_4158;)Lnet/minecraft/class_4158;
named setup
Lnet/minecraft/world/poi/PointOfInterestType;setup(Lnet/minecraft/world/poi/PointOfInterestType;)Lnet/minecraft/world/poi/PointOfInterestType;
-
from
- Mappings:
Namespace Name Mixin selector official b
Lbdp;b(Lcks;)Ljava/util/Optional;
intermediary method_19516
Lnet/minecraft/class_4158;method_19516(Lnet/minecraft/class_2680;)Ljava/util/Optional;
named from
Lnet/minecraft/world/poi/PointOfInterestType;from(Lnet/minecraft/block/BlockState;)Ljava/util/Optional;
-