|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.world.World
net.minecraft.client.multiplayer.WorldClient
public class WorldClient
Field Summary |
---|
Fields inherited from class net.minecraft.world.World |
---|
activeChunkSet, difficultySetting, editingBlocks, findingSpawnPoint, isRemote, lastLightningBolt, loadedEntityList, loadedTileEntityList, mapStorage, MAX_ENTITY_RADIUS, perWorldStorage, playerEntities, prevRainingStrength, prevThunderingStrength, provider, rainingStrength, rand, scheduledUpdatesAreImmediate, skylightSubtracted, theProfiler, thunderingStrength, villageCollectionObj, weatherEffects |
Constructor Summary | |
---|---|
WorldClient(NetClientHandler par1NetClientHandler,
WorldSettings par2WorldSettings,
int par3,
int par4,
Profiler par5Profiler)
|
Method Summary | |
---|---|
void |
addEntityToWorld(int par1,
Entity par2Entity)
Add an ID to Entity mapping to entityHashSet |
CrashReportCategory |
addWorldInfoToCrashReport(CrashReport par1CrashReport)
Adds some basic stats of the world to the given crash report. |
void |
doPreChunk(int par1,
int par2,
boolean par3)
|
void |
func_73029_E(int par1,
int par2,
int par3)
|
IUpdatePlayerListBox |
func_82735_a(EntityMinecart par1EntityMinecart)
|
void |
func_92088_a(double par1,
double par3,
double par5,
double par7,
double par9,
double par11,
NBTTagCompound par13NBTTagCompound)
|
Entity |
getEntityByID(int par1)
Returns the Entity with the given ID, or null if it doesn't exist in this World. |
void |
invalidateBlockReceiveRegion(int par1,
int par2,
int par3,
int par4,
int par5,
int par6)
Invalidates an AABB region of blocks from the receive queue, in the event that the block has been modified client-side in the intervening 80 receive ticks. |
void |
playSound(double par1,
double par3,
double par5,
String par7Str,
float par8,
float par9,
boolean par10)
par8 is loudness, all pars passed to minecraftInstance.sndManager.playSound |
void |
releaseEntitySkin(Entity par1Entity)
Decrement the reference counter for this entity's skin image data |
void |
removeAllEntities()
also releases skins. |
Entity |
removeEntityFromWorld(int par1)
|
void |
sendQuittingDisconnectingPacket()
If on MP, sends a quitting packet. |
boolean |
setBlockAndMetadataAndInvalidate(int par1,
int par2,
int par3,
int par4,
int par5)
|
void |
setEntityDead(Entity par1Entity)
Dismounts the entity (and anything riding the entity), sets the dead flag, and removes the player entity from the player entity list. |
boolean |
spawnEntityInWorld(Entity par1Entity)
Called to place all entities as part of a world |
void |
tick()
Runs a single tick for the world |
void |
updateWeatherBody()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorldClient(NetClientHandler par1NetClientHandler, WorldSettings par2WorldSettings, int par3, int par4, Profiler par5Profiler)
Method Detail |
---|
public void tick()
tick
in class World
public void invalidateBlockReceiveRegion(int par1, int par2, int par3, int par4, int par5, int par6)
public void doPreChunk(int par1, int par2, boolean par3)
public boolean spawnEntityInWorld(Entity par1Entity)
spawnEntityInWorld
in class World
public void setEntityDead(Entity par1Entity)
setEntityDead
in class World
public void releaseEntitySkin(Entity par1Entity)
releaseEntitySkin
in class World
public void addEntityToWorld(int par1, Entity par2Entity)
public Entity getEntityByID(int par1)
getEntityByID
in class World
public Entity removeEntityFromWorld(int par1)
public boolean setBlockAndMetadataAndInvalidate(int par1, int par2, int par3, int par4, int par5)
public void sendQuittingDisconnectingPacket()
sendQuittingDisconnectingPacket
in class World
public IUpdatePlayerListBox func_82735_a(EntityMinecart par1EntityMinecart)
func_82735_a
in class World
public void updateWeatherBody()
updateWeatherBody
in class World
public void func_73029_E(int par1, int par2, int par3)
public void removeAllEntities()
public CrashReportCategory addWorldInfoToCrashReport(CrashReport par1CrashReport)
addWorldInfoToCrashReport
in class World
public void playSound(double par1, double par3, double par5, String par7Str, float par8, float par9, boolean par10)
playSound
in class World
public void func_92088_a(double par1, double par3, double par5, double par7, double par9, double par11, NBTTagCompound par13NBTTagCompound)
func_92088_a
in class World
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |