|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.src.Block
net.minecraft.src.BlockRail
net.minecraft.src.BlockDetectorRail
public class BlockDetectorRail
Field Summary |
---|
Constructor Summary | |
---|---|
BlockDetectorRail(int par1,
int par2)
|
Method Summary | |
---|---|
boolean |
canProvidePower()
Can this block provide power. |
boolean |
isIndirectlyPoweringTo(World par1World,
int par2,
int par3,
int par4,
int par5)
Is this block indirectly powering the block on the specified side |
boolean |
isPoweringTo(IBlockAccess par1IBlockAccess,
int par2,
int par3,
int par4,
int par5)
Is this block powering the block on the specified side |
void |
onEntityCollidedWithBlock(World par1World,
int par2,
int par3,
int par4,
Entity par5Entity)
Triggered whenever an entity collides with this block (enters into the block). |
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 |
Constructor Detail |
---|
public BlockDetectorRail(int par1, int par2)
Method Detail |
---|
public int tickRate()
tickRate
in class Block
public boolean canProvidePower()
canProvidePower
in class Block
public void onEntityCollidedWithBlock(World par1World, int par2, int par3, int par4, Entity par5Entity)
onEntityCollidedWithBlock
in class Block
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random)
updateTick
in class Block
public boolean isPoweringTo(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
isPoweringTo
in class Block
public boolean isIndirectlyPoweringTo(World par1World, int par2, int par3, int par4, int par5)
isIndirectlyPoweringTo
in class Block
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |