public class BlockDetectorRail extends BlockRail
bedrock, blockBed, blockClay, blockConstructorCalled, blockDiamond, blockGold, blockHardness, blockID, blockIndexInTexture, blockLapis, blockMaterial, blockParticleGravity, blockResistance, blocksList, blockSnow, blockSteel, bookShelf, brick, button, cactus, cake, canBlockGrass, chest, cloth, cobblestone, cobblestoneMossy, crops, deadBush, dirt, dispenser, doorSteel, doorWood, enableStats, fence, field_28032_t, fire, glass, glowStone, grass, gravel, ice, isBlockContainer, jukebox, ladder, lavaMoving, lavaStill, leaves, lever, lightOpacity, lightValue, lockedChest, maxX, maxY, maxZ, minX, minY, minZ, mobSpawner, mushroomBrown, mushroomRed, musicBlock, netherrack, obsidian, opaqueCubeLookup, oreCoal, oreDiamond, oreGold, oreIron, oreLapis, oreRedstone, oreRedstoneGlowing, pistonBase, pistonExtension, pistonMoving, pistonStickyBase, planks, plantRed, plantYellow, portal, pressurePlatePlanks, pressurePlateStone, pumpkin, pumpkinLantern, rail, railDetector, railPowered, redstoneRepeaterActive, redstoneRepeaterIdle, redstoneWire, reed, sand, sandStone, sapling, signPost, signWall, slipperiness, slowSand, snow, soundClothFootstep, soundGlassFootstep, soundGrassFootstep, soundGravelFootstep, soundMetalFootstep, soundPowderFootstep, soundSandFootstep, soundStoneFootstep, soundWoodFootstep, sponge, stairCompactCobblestone, stairCompactPlanks, stairDouble, stairSingle, stepSound, stone, stoneOvenActive, stoneOvenIdle, tallGrass, tickOnLoad, tilledField, tnt, torchRedstoneActive, torchRedstoneIdle, torchWood, trapdoor, waterMoving, waterStill, web, wood, workbench
Constructor and Description |
---|
BlockDetectorRail(int i,
int j) |
Modifier and Type | Method and Description |
---|---|
boolean |
canProvidePower() |
boolean |
isIndirectlyPoweringTo(World world,
int i,
int j,
int k,
int l) |
boolean |
isPoweringTo(IBlockAccess iblockaccess,
int i,
int j,
int k,
int l) |
void |
onEntityCollidedWithBlock(World world,
int i,
int j,
int k,
Entity entity) |
int |
tickRate() |
void |
updateTick(World world,
int i,
int j,
int k,
java.util.Random random) |
canPlaceBlockAt, collisionRayTrace, getBlockTextureFromSideAndMetadata, getCollisionBoundingBoxFromPool, getIsPowered, getMobilityFlag, getRenderType, isOpaqueCube, isRailBlock, isRailBlockAt, onBlockAdded, onNeighborBlockChange, quantityDropped, renderAsNormalBlock, setBlockBoundsBasedOnState
blockActivated, blockStrength, canBlockStay, canCollideCheck, canPlaceBlockOnSide, colorMultiplier, damageDropped, disableNeighborNotifyOnMetadataChange, disableStats, dropBlockAsItem_do, dropBlockAsItem, dropBlockAsItemWithChance, getBlockBrightness, getBlockName, getBlockTexture, getBlockTextureFromSide, getCollidingBoundingBoxes, getEnableStats, getExplosionResistance, getHardness, getIsBlockSolid, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, harvestBlock, idDropped, initializeBlock, isCollidable, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockPlaced, onBlockPlacedBy, onBlockRemoval, onEntityWalking, playBlock, randomDisplayTick, setBlockBounds, setBlockBoundsForItemRender, setBlockName, setBlockUnbreakable, setHardness, setLightOpacity, setLightValue, setResistance, setStepSound, setTickOnLoad, shouldSideBeRendered, translateBlockName, velocityToAddToEntity
public boolean canProvidePower()
canProvidePower
in class Block
public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
onEntityCollidedWithBlock
in class Block
public void updateTick(World world, int i, int j, int k, java.util.Random random)
updateTick
in class Block
public boolean isPoweringTo(IBlockAccess iblockaccess, int i, int j, int k, int l)
isPoweringTo
in class Block
public boolean isIndirectlyPoweringTo(World world, int i, int j, int k, int l)
isIndirectlyPoweringTo
in class Block