net.minecraft.world.poi

public class PointOfInterest

net.minecraft.world.entity.ai.village.poi.PoiRecord
net.minecraft.class_4156
net.minecraft.world.poi.PointOfInterest

Field summary

Modifier and TypeField
private final BlockPos
pos
field_18492
pos
private final RegistryEntry<PointOfInterestType>
poiType
field_18493
type
private int
freeTickets
field_18494
freeTickets
private final Runnable
setDirty
field_18495
updateListener

Constructor summary

ModifierConstructor
private (BlockPos pos, RegistryEntry<PointOfInterestType> type, int freeTickets, Runnable updateListener)
public (BlockPos pos, RegistryEntry<PointOfInterestType> type, Runnable updateListener)

Method summary

Modifier and TypeMethod
public PointOfInterest$Serialized
pack()
method_61448()
toSerialized()
public int
getFreeTickets()
method_35156()
getFreeTickets()
protected boolean
acquireTicket()
method_19137()
reserveTicket()
protected boolean
releaseTicket()
method_19138()
releaseTicket()
public boolean
hasSpace()
method_19139()
hasSpace()
public boolean
isOccupied()
method_19140()
isOccupied()
public BlockPos
getPos()
method_19141()
getPos()
public RegistryEntry<PointOfInterestType>
getPoiType()
method_19142()
getType()