net.minecraft.world.entity.ai.village.poi

public class PoiRecord

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

Field summary

Modifier and TypeField
private final BlockPos
a
pos
field_18492
pos
private final Holder<PoiType>
b
poiType
field_18493
type
private int
c
freeTickets
field_18494
freeTickets
private final Runnable
d
setDirty
field_18495
updateListener

Constructor summary

ModifierConstructor
(BlockPos pos, Holder<PoiType> type, int freeTickets, Runnable updateListener)
public (BlockPos pos, Holder<PoiType> type, Runnable updateListener)

Method summary

Modifier and TypeMethod
public PoiRecord$Packed
a()
pack()
method_61448()
toSerialized()
public int
b()
getFreeTickets()
method_35156()
getFreeTickets()
protected boolean
c()
acquireTicket()
method_19137()
reserveTicket()
protected boolean
d()
releaseTicket()
method_19138()
releaseTicket()
public boolean
e()
hasSpace()
method_19139()
hasSpace()
public boolean
f()
isOccupied()
method_19140()
isOccupied()
public BlockPos
g()
getPos()
method_19141()
getPos()
public Holder<PoiType>
h()
getPoiType()
method_19142()
getType()