Class PointOfInterest

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

public class PointOfInterest extends Object
Mappings:
Namespace Name
named net/minecraft/world/poi/PointOfInterest
intermediary net/minecraft/class_4156
official chk
  • Field Details

    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/world/poi/PointOfInterest;pos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_18492 Lnet/minecraft/class_4156;field_18492:Lnet/minecraft/class_2338;
      official a Lchk;a:Ljh;
    • type

      private final RegistryEntry<PointOfInterestType> type
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/world/poi/PointOfInterest;type:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_18493 Lnet/minecraft/class_4156;field_18493:Lnet/minecraft/class_6880;
      official b Lchk;b:Ljq;
    • freeTickets

      private int freeTickets
      Mappings:
      Namespace Name Mixin selector
      named freeTickets Lnet/minecraft/world/poi/PointOfInterest;freeTickets:I
      intermediary field_18494 Lnet/minecraft/class_4156;field_18494:I
      official c Lchk;c:I
    • updateListener

      private final Runnable updateListener
      Mappings:
      Namespace Name Mixin selector
      named updateListener Lnet/minecraft/world/poi/PointOfInterest;updateListener:Ljava/lang/Runnable;
      intermediary field_18495 Lnet/minecraft/class_4156;field_18495:Ljava/lang/Runnable;
      official d Lchk;d:Ljava/lang/Runnable;
  • Constructor Details

    • PointOfInterest

      PointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> type, int freeTickets, Runnable updateListener)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/poi/PointOfInterest;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;ILjava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_4156;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;ILjava/lang/Runnable;)V
      official <init> Lchk;<init>(Ljh;Ljq;ILjava/lang/Runnable;)V
    • PointOfInterest

      public PointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> type, Runnable updateListener)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/poi/PointOfInterest;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;Ljava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_4156;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;Ljava/lang/Runnable;)V
      official <init> Lchk;<init>(Ljh;Ljq;Ljava/lang/Runnable;)V
  • Method Details

    • toSerialized

      public PointOfInterest.Serialized toSerialized()
      Mappings:
      Namespace Name Mixin selector
      named toSerialized Lnet/minecraft/world/poi/PointOfInterest;toSerialized()Lnet/minecraft/world/poi/PointOfInterest$Serialized;
      intermediary method_61448 Lnet/minecraft/class_4156;method_61448()Lnet/minecraft/class_4156$class_9864;
      official a Lchk;a()Lchk$a;
    • getFreeTickets

      @Deprecated public int getFreeTickets()
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named getFreeTickets Lnet/minecraft/world/poi/PointOfInterest;getFreeTickets()I
      intermediary method_35156 Lnet/minecraft/class_4156;method_35156()I
      official b Lchk;b()I
    • reserveTicket

      protected boolean reserveTicket()
      Mappings:
      Namespace Name Mixin selector
      named reserveTicket Lnet/minecraft/world/poi/PointOfInterest;reserveTicket()Z
      intermediary method_19137 Lnet/minecraft/class_4156;method_19137()Z
      official c Lchk;c()Z
    • releaseTicket

      protected boolean releaseTicket()
      Mappings:
      Namespace Name Mixin selector
      named releaseTicket Lnet/minecraft/world/poi/PointOfInterest;releaseTicket()Z
      intermediary method_19138 Lnet/minecraft/class_4156;method_19138()Z
      official d Lchk;d()Z
    • hasSpace

      public boolean hasSpace()
      Mappings:
      Namespace Name Mixin selector
      named hasSpace Lnet/minecraft/world/poi/PointOfInterest;hasSpace()Z
      intermediary method_19139 Lnet/minecraft/class_4156;method_19139()Z
      official e Lchk;e()Z
    • isOccupied

      public boolean isOccupied()
      Mappings:
      Namespace Name Mixin selector
      named isOccupied Lnet/minecraft/world/poi/PointOfInterest;isOccupied()Z
      intermediary method_19140 Lnet/minecraft/class_4156;method_19140()Z
      official f Lchk;f()Z
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      named getPos Lnet/minecraft/world/poi/PointOfInterest;getPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_19141 Lnet/minecraft/class_4156;method_19141()Lnet/minecraft/class_2338;
      official g Lchk;g()Ljh;
    • getType

      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/world/poi/PointOfInterest;getType()Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary method_19142 Lnet/minecraft/class_4156;method_19142()Lnet/minecraft/class_6880;
      official h Lchk;h()Ljq;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/world/poi/PointOfInterest;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_4156;equals(Ljava/lang/Object;)Z
      official equals Lchk;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object