Package net.minecraft.world.poi
Class PointOfInterest
java.lang.Object
net.minecraft.world.poi.PointOfInterest
- Mappings:
Namespace Name named net/minecraft/world/poi/PointOfInterestintermediary net/minecraft/class_4156official cgn
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate final BlockPosprivate final RegistryEntry<PointOfInterestType> private final Runnable -
Constructor Summary
ConstructorsConstructorDescriptionPointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> type, int freeTickets, Runnable updateListener) PointOfInterest(BlockPos pos, RegistryEntry<PointOfInterestType> type, Runnable updateListener) -
Method Summary
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector named posLnet/minecraft/world/poi/PointOfInterest;pos:Lnet/minecraft/util/math/BlockPos;intermediary field_18492Lnet/minecraft/class_4156;field_18492:Lnet/minecraft/class_2338;official aLcgn;a:Lji;
-
type
- Mappings:
Namespace Name Mixin selector named typeLnet/minecraft/world/poi/PointOfInterest;type:Lnet/minecraft/registry/entry/RegistryEntry;intermediary field_18493Lnet/minecraft/class_4156;field_18493:Lnet/minecraft/class_6880;official bLcgn;b:Ljr;
-
freeTickets
private int freeTickets- Mappings:
Namespace Name Mixin selector named freeTicketsLnet/minecraft/world/poi/PointOfInterest;freeTickets:Iintermediary field_18494Lnet/minecraft/class_4156;field_18494:Iofficial cLcgn;c:I
-
updateListener
- Mappings:
Namespace Name Mixin selector named updateListenerLnet/minecraft/world/poi/PointOfInterest;updateListener:Ljava/lang/Runnable;intermediary field_18495Lnet/minecraft/class_4156;field_18495:Ljava/lang/Runnable;official dLcgn;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;)Vintermediary <init>Lnet/minecraft/class_4156;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;ILjava/lang/Runnable;)Vofficial <init>Lcgn;<init>(Lji;Ljr;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;)Vintermediary <init>Lnet/minecraft/class_4156;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_6880;Ljava/lang/Runnable;)Vofficial <init>Lcgn;<init>(Lji;Ljr;Ljava/lang/Runnable;)V
-
-
Method Details
-
toSerialized
- Mappings:
Namespace Name Mixin selector named toSerializedLnet/minecraft/world/poi/PointOfInterest;toSerialized()Lnet/minecraft/world/poi/PointOfInterest$Serialized;intermediary method_61448Lnet/minecraft/class_4156;method_61448()Lnet/minecraft/class_4156$class_9864;official aLcgn;a()Lcgn$a;
-
getFreeTickets
Deprecated.- Mappings:
Namespace Name Mixin selector named getFreeTicketsLnet/minecraft/world/poi/PointOfInterest;getFreeTickets()Iintermediary method_35156Lnet/minecraft/class_4156;method_35156()Iofficial bLcgn;b()I
-
reserveTicket
protected boolean reserveTicket()- Mappings:
Namespace Name Mixin selector named reserveTicketLnet/minecraft/world/poi/PointOfInterest;reserveTicket()Zintermediary method_19137Lnet/minecraft/class_4156;method_19137()Zofficial cLcgn;c()Z
-
releaseTicket
protected boolean releaseTicket()- Mappings:
Namespace Name Mixin selector named releaseTicketLnet/minecraft/world/poi/PointOfInterest;releaseTicket()Zintermediary method_19138Lnet/minecraft/class_4156;method_19138()Zofficial dLcgn;d()Z
-
hasSpace
public boolean hasSpace()- Mappings:
Namespace Name Mixin selector named hasSpaceLnet/minecraft/world/poi/PointOfInterest;hasSpace()Zintermediary method_19139Lnet/minecraft/class_4156;method_19139()Zofficial eLcgn;e()Z
-
isOccupied
public boolean isOccupied()- Mappings:
Namespace Name Mixin selector named isOccupiedLnet/minecraft/world/poi/PointOfInterest;isOccupied()Zintermediary method_19140Lnet/minecraft/class_4156;method_19140()Zofficial fLcgn;f()Z
-
getPos
- Mappings:
Namespace Name Mixin selector named getPosLnet/minecraft/world/poi/PointOfInterest;getPos()Lnet/minecraft/util/math/BlockPos;intermediary method_19141Lnet/minecraft/class_4156;method_19141()Lnet/minecraft/class_2338;official gLcgn;g()Lji;
-
getType
- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/world/poi/PointOfInterest;getType()Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_19142Lnet/minecraft/class_4156;method_19142()Lnet/minecraft/class_6880;official hLcgn;h()Ljr;
-
equals
-
hashCode
public int hashCode()
-