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

public class PoiRecord

bdn
net.minecraft.world.entity.ai.village.poi.PoiRecord
net.minecraft.class_4156
net.minecraft.world.poi.PointOfInterest
net.minecraft.src.C_790_
net.minecraft.world.entity.ai.village.poi.VillagePlaceRecord

Field summary

Modifier and TypeField
private final BlockPos
a
pos
field_18492
pos
f_27227_
private final PoiType
b
poiType
field_18493
type
f_27228_
private int
c
freeTickets
field_18494
freeTickets
f_27229_
private final Runnable
d
setDirty
field_18495
updateListener
f_27230_

Constructor summary

ModifierConstructor
private (BlockPos pos, PoiType type, int freeTickets, Runnable updateListener)
public (BlockPos pos, PoiType type, Runnable updateListener)

Method summary

Modifier and TypeMethod
public static com.mojang.serialization.Codec<PoiRecord>
a(Runnable arg0)
codec(Runnable arg0)
method_28359(Runnable arg0)
createCodec(Runnable updateListener)
m_27242_(Runnable p_27243_)
public int
a()
getFreeTickets()
method_35156()
getFreeTickets()
m_148667_()
protected boolean
b()
acquireTicket()
method_19137()
reserveTicket()
m_27247_()
protected boolean
c()
releaseTicket()
method_19138()
releaseTicket()
m_27250_()
public boolean
d()
hasSpace()
method_19139()
hasSpace()
m_27253_()
public boolean
e()
isOccupied()
method_19140()
isOccupied()
m_27254_()
public BlockPos
f()
getPos()
method_19141()
getPos()
m_27257_()
public PoiType
g()
getPoiType()
method_19142()
getType()
m_27258_()