Class PointOfInterestType

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

public class PointOfInterestType
extends Object
Mappings:
Namespace Name
official bbb
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 Lbbb;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 Lbbb;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 Lbbb;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 Lbbb;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;
    • 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 B Lbbb;B: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 Lbbb;c:Lbbb;
      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 Lbbb;d:Lbbb;
      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 Lbbb;e:Lbbb;
      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 Lbbb;f:Lbbb;
      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 Lbbb;g:Lbbb;
      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 Lbbb;h:Lbbb;
      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 Lbbb;i:Lbbb;
      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 Lbbb;j:Lbbb;
      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 Lbbb;k:Lbbb;
      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 Lbbb;l:Lbbb;
      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 Lbbb;m:Lbbb;
      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 Lbbb;n:Lbbb;
      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 Lbbb;o:Lbbb;
      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 Lbbb;p:Lbbb;
      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 Lbbb;q:Lbbb;
      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 Lbbb;r:Lbbb;
      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 Lbbb;s:Lbbb;
      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 Lbbb;t:Lbbb;
      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 Lbbb;u:Lbbb;
      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 Lbbb;v:Lbbb;
      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 Lbbb;w:Lbbb;
      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 Lbbb;x:Lbbb;
      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 Lbbb;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 C Lbbb;C: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 D Lbbb;D: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 E Lbbb;E: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 F Lbbb;F: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 G Lbbb;G: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> Lbbb;<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> Lbbb;<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 Lbbb;a(Lbwu;)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;
    • getTicketCount

      public int getTicketCount()
      Mappings:
      Namespace Name Mixin selector
      official b Lbbb;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 Lbbb;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;
    • getSearchDistance

      public int getSearchDistance()
      Mappings:
      Namespace Name Mixin selector
      official d Lbbb;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
      Mappings:
      Namespace Name Mixin selector
      official toString Lbbb;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_4158;toString()Ljava/lang/String;
      named toString Lnet/minecraft/world/poi/PointOfInterestType;toString()Ljava/lang/String;
    • register

      private static PointOfInterestType register​(String id, Set<BlockState> workStationStates, int ticketCount, int searchDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbb;a(Ljava/lang/String;Ljava/util/Set;II)Lbbb;
      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 Lbbb;a(Ljava/lang/String;Ljava/util/Set;ILjava/util/function/Predicate;I)Lbbb;
      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 Lbbb;a(Lbbb;)Lbbb;
      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 Lbbb;b(Lcht;)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;