public interface IWorldAccess
Modifier and Type | Method and Description |
---|---|
void |
broadcastSound(int i,
int j,
int k,
int l,
int i1) |
void |
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
|
void |
markBlockForRenderUpdate(int i,
int j,
int k)
On the client, re-renders this block.
|
void |
markBlockForUpdate(int i,
int j,
int k)
On the client, re-renders the block.
|
void |
markBlockRangeForRenderUpdate(int i,
int j,
int k,
int l,
int i1,
int j1)
On the client, re-renders all blocks in this range, inclusive.
|
void |
onEntityCreate(Entity entity)
Called on all IWorldAccesses when an entity is created or loaded.
|
void |
onEntityDestroy(Entity entity)
Called on all IWorldAccesses when an entity is unloaded or destroyed.
|
void |
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).
|
void |
playRecord(String s,
int i,
int j,
int k)
Plays the specified record.
|
void |
playSound(String s,
double d0,
double d1,
double d2,
float f,
float f1)
Plays the specified sound.
|
void |
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
|
void |
spawnParticle(String s,
double d0,
double d1,
double d2,
double d3,
double d4,
double d5)
Spawns a particle.
|
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)