public class PlayerChunkMapEntry
extends java.lang.Object
Constructor and Description |
---|
PlayerChunkMapEntry(PlayerChunkMap p_i1518_1_,
int chunkX,
int chunkZ) |
Modifier and Type | Method and Description |
---|---|
void |
addPlayer(EntityPlayerMP player) |
void |
blockChanged(int x,
int y,
int z) |
boolean |
containsPlayer(EntityPlayerMP player) |
Chunk |
getChunk() |
double |
getClosestPlayerDistance() |
ChunkPos |
getPos() |
boolean |
hasPlayerMatching(com.google.common.base.Predicate<EntityPlayerMP> predicate) |
boolean |
hasPlayerMatchingInRange(double range,
com.google.common.base.Predicate<EntityPlayerMP> predicate) |
boolean |
isSentToPlayers() |
boolean |
providePlayerChunk(boolean canGenerate) |
void |
removePlayer(EntityPlayerMP player) |
void |
sendNearbySpecialEntities(EntityPlayerMP player) |
void |
sendPacket(Packet<?> packetIn) |
boolean |
sentToPlayers() |
void |
update() |
void |
updateChunkInhabitedTime() |
public PlayerChunkMapEntry(PlayerChunkMap p_i1518_1_, int chunkX, int chunkZ)
public ChunkPos getPos()
public void addPlayer(EntityPlayerMP player)
public void removePlayer(EntityPlayerMP player)
public boolean providePlayerChunk(boolean canGenerate)
public boolean sentToPlayers()
public void sendNearbySpecialEntities(EntityPlayerMP player)
public void updateChunkInhabitedTime()
public void blockChanged(int x, int y, int z)
public void sendPacket(Packet<?> packetIn)
public void update()
public boolean containsPlayer(EntityPlayerMP player)
public boolean hasPlayerMatching(com.google.common.base.Predicate<EntityPlayerMP> predicate)
public boolean hasPlayerMatchingInRange(double range, com.google.common.base.Predicate<EntityPlayerMP> predicate)
public boolean isSentToPlayers()
@Nullable public Chunk getChunk()
public double getClosestPlayerDistance()