Package net.minecraft.world.poi
Class PointOfInterest
java.lang.Object
net.minecraft.world.poi.PointOfInterest
- Mappings:
- Namespace - Name - official - bra- intermediary - net/minecraft/class_4156- named - net/minecraft/world/poi/PointOfInterest
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate intprivate final BlockPosprivate final RegistryEntry<PointOfInterestType>private final Runnable
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivatePointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> type, int freeTickets, Runnable updateListener) PointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> type, Runnable updateListener) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<PointOfInterest>createCodec(Runnable updateListener) booleanintDeprecated.getPos()getType()inthashCode()booleanhasSpace()booleanprotected booleanprotected boolean
- 
Field Details- 
pos- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbra;a:Lgu;- intermediary - field_18492- Lnet/minecraft/class_4156;field_18492:Lnet/minecraft/class_2338;- named - pos- Lnet/minecraft/world/poi/PointOfInterest;pos:Lnet/minecraft/util/math/BlockPos;
 
- 
type- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbra;b:Lhe;- intermediary - field_18493- Lnet/minecraft/class_4156;field_18493:Lnet/minecraft/class_6880;- named - type- Lnet/minecraft/world/poi/PointOfInterest;type:Lnet/minecraft/registry/entry/RegistryEntry;
 
- 
freeTicketsprivate int freeTickets- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbra;c:I- intermediary - field_18494- Lnet/minecraft/class_4156;field_18494:I- named - freeTickets- Lnet/minecraft/world/poi/PointOfInterest;freeTickets:I
 
- 
updateListener- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbra;d:Ljava/lang/Runnable;- intermediary - field_18495- Lnet/minecraft/class_4156;field_18495:Ljava/lang/Runnable;- named - updateListener- Lnet/minecraft/world/poi/PointOfInterest;updateListener:Ljava/lang/Runnable;
 
 
- 
- 
Constructor Details- 
PointOfInterestprivate PointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> type, int freeTickets, Runnable updateListener) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbra;<init>(Lgu;Lhe;ILjava/lang/Runnable;)V- intermediary - <init>- Lnet/minecraft/class_4156;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;ILjava/lang/Runnable;)V- named - <init>- Lnet/minecraft/world/poi/PointOfInterest;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;ILjava/lang/Runnable;)V
 
- 
PointOfInterestpublic PointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> type, Runnable updateListener) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbra;<init>(Lgu;Lhe;Ljava/lang/Runnable;)V- intermediary - <init>- Lnet/minecraft/class_4156;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;Ljava/lang/Runnable;)V- named - <init>- Lnet/minecraft/world/poi/PointOfInterest;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/entry/RegistryEntry;Ljava/lang/Runnable;)V
 
 
- 
- 
Method Details- 
createCodec- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbra;a(Ljava/lang/Runnable;)Lcom/mojang/serialization/Codec;- intermediary - method_28359- Lnet/minecraft/class_4156;method_28359(Ljava/lang/Runnable;)Lcom/mojang/serialization/Codec;- named - createCodec- Lnet/minecraft/world/poi/PointOfInterest;createCodec(Ljava/lang/Runnable;)Lcom/mojang/serialization/Codec;
 
- 
getFreeTicketsDeprecated.- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbra;a()I- intermediary - method_35156- Lnet/minecraft/class_4156;method_35156()I- named - getFreeTickets- Lnet/minecraft/world/poi/PointOfInterest;getFreeTickets()I
 
- 
reserveTicketprotected boolean reserveTicket()- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbra;b()Z- intermediary - method_19137- Lnet/minecraft/class_4156;method_19137()Z- named - reserveTicket- Lnet/minecraft/world/poi/PointOfInterest;reserveTicket()Z
 
- 
releaseTicketprotected boolean releaseTicket()- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbra;c()Z- intermediary - method_19138- Lnet/minecraft/class_4156;method_19138()Z- named - releaseTicket- Lnet/minecraft/world/poi/PointOfInterest;releaseTicket()Z
 
- 
hasSpacepublic boolean hasSpace()- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbra;d()Z- intermediary - method_19139- Lnet/minecraft/class_4156;method_19139()Z- named - hasSpace- Lnet/minecraft/world/poi/PointOfInterest;hasSpace()Z
 
- 
isOccupiedpublic boolean isOccupied()- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbra;e()Z- intermediary - method_19140- Lnet/minecraft/class_4156;method_19140()Z- named - isOccupied- Lnet/minecraft/world/poi/PointOfInterest;isOccupied()Z
 
- 
getPos- Mappings:
- Namespace - Name - Mixin selector - official - f- Lbra;f()Lgu;- intermediary - method_19141- Lnet/minecraft/class_4156;method_19141()Lnet/minecraft/class_2338;- named - getPos- Lnet/minecraft/world/poi/PointOfInterest;getPos()Lnet/minecraft/util/math/BlockPos;
 
- 
getType- Mappings:
- Namespace - Name - Mixin selector - official - g- Lbra;g()Lhe;- intermediary - method_19142- Lnet/minecraft/class_4156;method_19142()Lnet/minecraft/class_6880;- named - getType- Lnet/minecraft/world/poi/PointOfInterest;getType()Lnet/minecraft/registry/entry/RegistryEntry;
 
- 
equals
- 
hashCodepublic int hashCode()
 
-