|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.block.Block
net.minecraft.block.BlockSand
public class BlockSand
Field Summary | |
---|---|
static boolean |
fallInstantly
Do blocks fall instantly to where they stop or do they fall over time |
Constructor Summary | |
---|---|
BlockSand(int par1,
int par2)
|
|
BlockSand(int par1,
int par2,
Material par3Material)
|
Method Summary | |
---|---|
static boolean |
canFallBelow(World par0World,
int par1,
int par2,
int par3)
Checks to see if the sand can fall into the block below it |
void |
onBlockAdded(World par1World,
int par2,
int par3,
int par4)
Called whenever the block is added into the world. |
void |
onFinishFalling(World par1World,
int par2,
int par3,
int par4,
int par5)
Called when the falling block entity for this block hits the ground and turns back into a block |
void |
onNeighborBlockChange(World par1World,
int par2,
int par3,
int par4,
int par5)
Lets the block know when one of its neighbor changes. |
int |
tickRate()
How many world ticks before ticking |
void |
updateTick(World par1World,
int par2,
int par3,
int par4,
Random par5Random)
Ticks the block if it's been scheduled |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean fallInstantly
Constructor Detail |
---|
public BlockSand(int par1, int par2)
public BlockSand(int par1, int par2, Material par3Material)
Method Detail |
---|
public void onBlockAdded(World par1World, int par2, int par3, int par4)
onBlockAdded
in class Block
public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5)
onNeighborBlockChange
in class Block
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
updateTick
in class Block
public int tickRate()
tickRate
in class Block
public static boolean canFallBelow(World par0World, int par1, int par2, int par3)
public void onFinishFalling(World par1World, int par2, int par3, int par4, int par5)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |