YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.IWorldAccess Interface Reference
Inheritance diagram for net.minecraft.world.IWorldAccess:
net.minecraft.client.renderer.RenderGlobal net.minecraft.world.WorldManager

Public Member Functions

void markBlockForUpdate (int i, int j, int k)
 
void markBlockForRenderUpdate (int i, int j, int k)
 
void markBlockRangeForRenderUpdate (int i, int j, int k, int l, int i1, int j1)
 
void playSound (String s, double d0, double d1, double d2, float f, float f1)
 
void playSoundToNearExcept (EntityPlayer entityplayer, String s, double d0, double d1, double d2, float f, float f1)
 
void spawnParticle (String s, double d0, double d1, double d2, double d3, double d4, double d5)
 
void onEntityCreate (Entity entity)
 
void onEntityDestroy (Entity entity)
 
void playRecord (String s, int i, int j, int k)
 
void broadcastSound (int i, int j, int k, int l, int i1)
 
void playAuxSFX (EntityPlayer entityplayer, int i, int j, int k, int l, int i1)
 
void destroyBlockPartially (int i, int j, int k, int l, int i1)
 

Member Function Documentation

void net.minecraft.world.IWorldAccess.broadcastSound ( int  i,
int  j,
int  k,
int  l,
int  i1 
)
void net.minecraft.world.IWorldAccess.destroyBlockPartially ( int  i,
int  j,
int  k,
int  l,
int  i1 
)

Starts (or continues) destroying a block with given ID at the given coordinates for the given partially destroyed value

Implemented in net.minecraft.client.renderer.RenderGlobal, and net.minecraft.world.WorldManager.

void net.minecraft.world.IWorldAccess.markBlockForRenderUpdate ( int  i,
int  j,
int  k 
)

On the client, re-renders this block. On the server, does nothing. Used for lighting updates.

Implemented in net.minecraft.client.renderer.RenderGlobal, and net.minecraft.world.WorldManager.

void net.minecraft.world.IWorldAccess.markBlockForUpdate ( int  i,
int  j,
int  k 
)

On the client, re-renders the block. On the server, sends the block to the client (which will re-render it), including the tile entity description packet if applicable. Args: x, y, z

Implemented in net.minecraft.client.renderer.RenderGlobal, and net.minecraft.world.WorldManager.

void net.minecraft.world.IWorldAccess.markBlockRangeForRenderUpdate ( int  i,
int  j,
int  k,
int  l,
int  i1,
int  j1 
)

On the client, re-renders all blocks in this range, inclusive. On the server, does nothing. Args: min x, min y, min z, max x, max y, max z

Implemented in net.minecraft.client.renderer.RenderGlobal, and net.minecraft.world.WorldManager.

void net.minecraft.world.IWorldAccess.onEntityCreate ( Entity  entity)

Called on all IWorldAccesses when an entity is created or loaded. On client worlds, starts downloading any necessary textures. On server worlds, adds the entity to the entity tracker.

Implemented in net.minecraft.client.renderer.RenderGlobal, and net.minecraft.world.WorldManager.

void net.minecraft.world.IWorldAccess.onEntityDestroy ( Entity  entity)

Called on all IWorldAccesses when an entity is unloaded or destroyed. On client worlds, releases any downloaded textures. On server worlds, removes the entity from the entity tracker.

Implemented in net.minecraft.client.renderer.RenderGlobal, and net.minecraft.world.WorldManager.

void net.minecraft.world.IWorldAccess.playAuxSFX ( EntityPlayer  entityplayer,
int  i,
int  j,
int  k,
int  l,
int  i1 
)

Plays a pre-canned sound effect along with potentially auxiliary data-driven one-shot behaviour (particles, etc).

Implemented in net.minecraft.client.renderer.RenderGlobal, and net.minecraft.world.WorldManager.

void net.minecraft.world.IWorldAccess.playRecord ( String  s,
int  i,
int  j,
int  k 
)

Plays the specified record. Arg: recordName, x, y, z

Implemented in net.minecraft.client.renderer.RenderGlobal, and net.minecraft.world.WorldManager.

void net.minecraft.world.IWorldAccess.playSound ( String  s,
double  d0,
double  d1,
double  d2,
float  f,
float  f1 
)

Plays the specified sound. Arg: soundName, x, y, z, volume, pitch

Implemented in net.minecraft.client.renderer.RenderGlobal, and net.minecraft.world.WorldManager.

void net.minecraft.world.IWorldAccess.playSoundToNearExcept ( EntityPlayer  entityplayer,
String  s,
double  d0,
double  d1,
double  d2,
float  f,
float  f1 
)

Plays sound to all near players except the player reference given

Implemented in net.minecraft.client.renderer.RenderGlobal, and net.minecraft.world.WorldManager.

void net.minecraft.world.IWorldAccess.spawnParticle ( String  s,
double  d0,
double  d1,
double  d2,
double  d3,
double  d4,
double  d5 
)

Spawns a particle. Arg: particleType, x, y, z, velX, velY, velZ

Implemented in net.minecraft.client.renderer.RenderGlobal, and net.minecraft.world.WorldManager.


The documentation for this interface was generated from the following file: