Class PointOfInterestType

java.lang.Object
net.minecraft.world.poi.PointOfInterestType

public class PointOfInterestType extends Object
Mappings:
Namespace Name
official bdp
intermediary net/minecraft/class_4158
named net/minecraft/world/poi/PointOfInterestType
  • Field Details

    • VILLAGER_WORKSTATIONS

      private static final Supplier<Set<PointOfInterestType>> 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

      public static final Predicate<PointOfInterestType> 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

      public static final Predicate<PointOfInterestType> 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

      private static final Set<BlockState> 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

      private static final Set<BlockState> 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

      private static final Map<BlockState,​PointOfInterestType> 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

      public static final PointOfInterestType 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      public static final 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

      protected static final Set<BlockState> 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

      private final String 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

      private final Set<BlockState> 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

      private final Predicate<PointOfInterestType> 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

      private static Set<BlockState> getAllStatesOf(Block block)
      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

      public String 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

      public Predicate<PointOfInterestType> 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

      public boolean contains(BlockState state)
      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

      public String toString()
      Overrides:
      toString in class Object
    • 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

      private static PointOfInterestType setup(PointOfInterestType poiType)
      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

      public static Optional<PointOfInterestType> from(BlockState state)
      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;