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

public class PoiRecord

azp
net.minecraft.world.entity.ai.village.poi.PoiRecord
net.minecraft.class_4156
net.minecraft.world.poi.PointOfInterest
net.minecraft.village.PointOfInterest
net.minecraft.server.v1_16_R3.VillagePlaceRecord

Field summary

Modifier and TypeField
private final BlockPos
a
pos
field_18492
pos
field_218266_a
private final PoiType
b
poiType
field_18493
type
field_218267_b
private int
c
freeTickets
field_18494
freeTickets
field_218268_c
private final Runnable
d
setDirty
field_18495
updateListener
field_218269_d

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)
func_234150_a_(Runnable arg0)
protected boolean
b()
acquireTicket()
method_19137()
reserveTicket()
func_218262_b()
protected boolean
c()
releaseTicket()
method_19138()
releaseTicket()
func_218264_c()
public boolean
d()
hasSpace()
method_19139()
hasSpace()
func_218265_d()
public boolean
e()
isOccupied()
method_19140()
isOccupied()
func_218263_e()
public BlockPos
f()
getPos()
method_19141()
getPos()
func_218261_f()
public PoiType
g()
getPoiType()
method_19142()
getType()
func_218260_g()