Package net.minecraft.world.poi
Class PointOfInterest
java.lang.Object
net.minecraft.world.poi.PointOfInterest
public class PointOfInterest extends Object
- Mappings:
Namespace Name official baz
intermediary net/minecraft/class_4156
named net/minecraft/world/poi/PointOfInterest
-
Field Summary
Fields Modifier and Type Field Description private int
freeTickets
private BlockPos
pos
private PointOfInterestType
type
private Runnable
updateListener
-
Constructor Summary
Constructors Modifier Constructor Description private
PointOfInterest(BlockPos pos, PointOfInterestType type, int freeTickets, Runnable updateListener)
PointOfInterest(BlockPos pos, PointOfInterestType type, Runnable updateListener)
-
Method Summary
Modifier and Type Method Description static com.mojang.serialization.Codec<PointOfInterest>
createCodec(Runnable updateListener)
boolean
equals(Object obj)
BlockPos
getPos()
PointOfInterestType
getType()
int
hashCode()
boolean
hasSpace()
boolean
isOccupied()
protected boolean
releaseTicket()
protected boolean
reserveTicket()
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector official a
Lbaz;a:Lfx;
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
Lbaz;b:Lbbb;
intermediary field_18493
Lnet/minecraft/class_4156;field_18493:Lnet/minecraft/class_4158;
named type
Lnet/minecraft/world/poi/PointOfInterest;type:Lnet/minecraft/world/poi/PointOfInterestType;
-
freeTickets
private int freeTickets- Mappings:
Namespace Name Mixin selector official c
Lbaz;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
Lbaz;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
-
PointOfInterest
private PointOfInterest(BlockPos pos, PointOfInterestType type, int freeTickets, Runnable updateListener)- Mappings:
Namespace Name Mixin selector official <init>
Lbaz;<init>(Lfx;Lbbb;ILjava/lang/Runnable;)V
intermediary <init>
Lnet/minecraft/class_4156;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_4158;ILjava/lang/Runnable;)V
named <init>
Lnet/minecraft/world/poi/PointOfInterest;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/poi/PointOfInterestType;ILjava/lang/Runnable;)V
-
PointOfInterest
- Mappings:
Namespace Name Mixin selector official <init>
Lbaz;<init>(Lfx;Lbbb;Ljava/lang/Runnable;)V
intermediary <init>
Lnet/minecraft/class_4156;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_4158;Ljava/lang/Runnable;)V
named <init>
Lnet/minecraft/world/poi/PointOfInterest;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/poi/PointOfInterestType;Ljava/lang/Runnable;)V
-
-
Method Details
-
createCodec
- Mappings:
Namespace Name Mixin selector official a
Lbaz;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;
-
reserveTicket
protected boolean reserveTicket()- Mappings:
Namespace Name Mixin selector official b
Lbaz;b()Z
intermediary method_19137
Lnet/minecraft/class_4156;method_19137()Z
named reserveTicket
Lnet/minecraft/world/poi/PointOfInterest;reserveTicket()Z
-
releaseTicket
protected boolean releaseTicket()- Mappings:
Namespace Name Mixin selector official c
Lbaz;c()Z
intermediary method_19138
Lnet/minecraft/class_4156;method_19138()Z
named releaseTicket
Lnet/minecraft/world/poi/PointOfInterest;releaseTicket()Z
-
hasSpace
public boolean hasSpace()- Mappings:
Namespace Name Mixin selector official d
Lbaz;d()Z
intermediary method_19139
Lnet/minecraft/class_4156;method_19139()Z
named hasSpace
Lnet/minecraft/world/poi/PointOfInterest;hasSpace()Z
-
isOccupied
public boolean isOccupied()- Mappings:
Namespace Name Mixin selector official e
Lbaz;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
Lbaz;f()Lfx;
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
Lbaz;g()Lbbb;
intermediary method_19142
Lnet/minecraft/class_4156;method_19142()Lnet/minecraft/class_4158;
named getType
Lnet/minecraft/world/poi/PointOfInterest;getType()Lnet/minecraft/world/poi/PointOfInterestType;
-
equals
-
hashCode
public int hashCode()
-