类 PointOfInterest
- java.lang.Object
-
- net.minecraft.world.poi.PointOfInterest
-
public class PointOfInterest extends Object
- Mappings:
Namespace Name official bcpintermediary net/minecraft/class_4156named net/minecraft/world/poi/PointOfInterest
-
-
字段概要
字段 修饰符和类型 字段 说明 private intfreeTicketsprivate BlockPosposprivate PointOfInterestTypetypeprivate RunnableupdateListener
-
构造器概要
构造器 限定符 构造器 说明 privatePointOfInterest(BlockPos pos, PointOfInterestType type, int freeTickets, Runnable updateListener)PointOfInterest(BlockPos pos, PointOfInterestType type, Runnable updateListener)
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 static com.mojang.serialization.Codec<PointOfInterest>createCodec(Runnable updateListener)booleanequals(Object obj)intgetFreeTickets()已过时。BlockPosgetPos()PointOfInterestTypegetType()inthashCode()booleanhasSpace()booleanisOccupied()protected booleanreleaseTicket()protected booleanreserveTicket()
-
-
-
字段详细资料
-
pos
private final BlockPos pos
- Mappings:
Namespace Name Mixin selector official aLbcp;a:Lgb;intermediary field_18492Lnet/minecraft/class_4156;field_18492:Lnet/minecraft/class_2338;named posLnet/minecraft/world/poi/PointOfInterest;pos:Lnet/minecraft/util/math/BlockPos;
-
type
private final PointOfInterestType type
- Mappings:
Namespace Name Mixin selector official bLbcp;b:Lbcr;intermediary field_18493Lnet/minecraft/class_4156;field_18493:Lnet/minecraft/class_4158;named typeLnet/minecraft/world/poi/PointOfInterest;type:Lnet/minecraft/world/poi/PointOfInterestType;
-
freeTickets
private int freeTickets
- Mappings:
Namespace Name Mixin selector official cLbcp;c:Iintermediary field_18494Lnet/minecraft/class_4156;field_18494:Inamed freeTicketsLnet/minecraft/world/poi/PointOfInterest;freeTickets:I
-
updateListener
private final Runnable updateListener
- Mappings:
Namespace Name Mixin selector official dLbcp;d:Ljava/lang/Runnable;intermediary field_18495Lnet/minecraft/class_4156;field_18495:Ljava/lang/Runnable;named updateListenerLnet/minecraft/world/poi/PointOfInterest;updateListener:Ljava/lang/Runnable;
-
-
构造器详细资料
-
PointOfInterest
private PointOfInterest(BlockPos pos, PointOfInterestType type, int freeTickets, Runnable updateListener)
- Mappings:
Namespace Name Mixin selector official <init>Lbcp;<init>(Lgb;Lbcr;ILjava/lang/Runnable;)Vintermediary <init>Lnet/minecraft/class_4156;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_4158;ILjava/lang/Runnable;)Vnamed <init>Lnet/minecraft/world/poi/PointOfInterest;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/poi/PointOfInterestType;ILjava/lang/Runnable;)V
-
PointOfInterest
public PointOfInterest(BlockPos pos, PointOfInterestType type, Runnable updateListener)
- Mappings:
Namespace Name Mixin selector official <init>Lbcp;<init>(Lgb;Lbcr;Ljava/lang/Runnable;)Vintermediary <init>Lnet/minecraft/class_4156;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_4158;Ljava/lang/Runnable;)Vnamed <init>Lnet/minecraft/world/poi/PointOfInterest;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/poi/PointOfInterestType;Ljava/lang/Runnable;)V
-
-
方法详细资料
-
createCodec
public static com.mojang.serialization.Codec<PointOfInterest> createCodec(Runnable updateListener)
- Mappings:
Namespace Name Mixin selector official aLbcp;a(Ljava/lang/Runnable;)Lcom/mojang/serialization/Codec;intermediary method_28359Lnet/minecraft/class_4156;method_28359(Ljava/lang/Runnable;)Lcom/mojang/serialization/Codec;named createCodecLnet/minecraft/world/poi/PointOfInterest;createCodec(Ljava/lang/Runnable;)Lcom/mojang/serialization/Codec;
-
getFreeTickets
@Deprecated public int getFreeTickets()
已过时。- Mappings:
Namespace Name Mixin selector official aLbcp;a()Iintermediary method_35156Lnet/minecraft/class_4156;method_35156()Inamed getFreeTicketsLnet/minecraft/world/poi/PointOfInterest;getFreeTickets()I
-
reserveTicket
protected boolean reserveTicket()
- Mappings:
Namespace Name Mixin selector official bLbcp;b()Zintermediary method_19137Lnet/minecraft/class_4156;method_19137()Znamed reserveTicketLnet/minecraft/world/poi/PointOfInterest;reserveTicket()Z
-
releaseTicket
protected boolean releaseTicket()
- Mappings:
Namespace Name Mixin selector official cLbcp;c()Zintermediary method_19138Lnet/minecraft/class_4156;method_19138()Znamed releaseTicketLnet/minecraft/world/poi/PointOfInterest;releaseTicket()Z
-
hasSpace
public boolean hasSpace()
- Mappings:
Namespace Name Mixin selector official dLbcp;d()Zintermediary method_19139Lnet/minecraft/class_4156;method_19139()Znamed hasSpaceLnet/minecraft/world/poi/PointOfInterest;hasSpace()Z
-
isOccupied
public boolean isOccupied()
- Mappings:
Namespace Name Mixin selector official eLbcp;e()Zintermediary method_19140Lnet/minecraft/class_4156;method_19140()Znamed isOccupiedLnet/minecraft/world/poi/PointOfInterest;isOccupied()Z
-
getPos
public BlockPos getPos()
- Mappings:
Namespace Name Mixin selector official fLbcp;f()Lgb;intermediary method_19141Lnet/minecraft/class_4156;method_19141()Lnet/minecraft/class_2338;named getPosLnet/minecraft/world/poi/PointOfInterest;getPos()Lnet/minecraft/util/math/BlockPos;
-
getType
public PointOfInterestType getType()
- Mappings:
Namespace Name Mixin selector official gLbcp;g()Lbcr;intermediary method_19142Lnet/minecraft/class_4156;method_19142()Lnet/minecraft/class_4158;named getTypeLnet/minecraft/world/poi/PointOfInterest;getType()Lnet/minecraft/world/poi/PointOfInterestType;
-
equals
public boolean equals(Object obj)
-
-