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

public class PoiRecord

implements Serializable

asp
net.minecraft.world.entity.ai.village.poi.PoiRecord
net.minecraft.class_4156
net.minecraft.village.PointOfInterest
net.minecraft.village.PointOfInterest
net.minecraft.server.v1_15_R1.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)
public <T>(com.mojang.datafixers.Dynamic<T> dynamic, Runnable updateListener)

Method summary

Modifier and TypeMethod
public <T> T
a(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0)
method_19508(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0)
func_218175_a(com.mojang.datafixers.types.DynamicOps<T> 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()