Package net.minecraft.village
Class PointOfInterest
java.lang.Object
net.minecraft.village.PointOfInterest
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final PointOfInterestType
private final BlockPos
private final Runnable
-
Constructor Summary
ModifierConstructorDescriptionprivate
PointOfInterest
(BlockPos p_i50295_1_, PointOfInterestType p_i50295_2_, int p_i50295_3_, Runnable p_i50295_4_) PointOfInterest
(BlockPos p_i50296_1_, PointOfInterestType p_i50296_2_, Runnable p_i50296_3_) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
static com.mojang.serialization.Codec<PointOfInterest>
boolean
getPos()
int
hashCode()
boolean
hasSpace()
boolean
protected boolean
-
Field Details
-
pos
-
poiType
-
freeTickets
private int freeTickets -
setDirty
-
-
Constructor Details
-
PointOfInterest
private PointOfInterest(BlockPos p_i50295_1_, PointOfInterestType p_i50295_2_, int p_i50295_3_, Runnable p_i50295_4_) -
PointOfInterest
-
-
Method Details
-
codec
-
acquireTicket
protected boolean acquireTicket() -
releaseTicket
protected boolean releaseTicket() -
hasSpace
public boolean hasSpace() -
isOccupied
public boolean isOccupied() -
getPos
-
getPoiType
-
equals
-
hashCode
public int hashCode()
-