public class BlockRailDetector extends BlockRailBase
BlockRailBase.Rail
Block.SoundType
field_150053_a
blockConstructorCalled, blockHardness, blockIcon, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, canBlockGrass, delegate, enableStats, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, opaque, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, textureName, useNeighborBrightness
Constructor and Description |
---|
BlockRailDetector() |
Modifier and Type | Method and Description |
---|---|
boolean |
canProvidePower() |
int |
getComparatorInputOverride(World p_149736_1_,
int p_149736_2_,
int p_149736_3_,
int p_149736_4_,
int p_149736_5_) |
IIcon |
getIcon(int p_149691_1_,
int p_149691_2_) |
boolean |
hasComparatorInputOverride() |
int |
isProvidingStrongPower(IBlockAccess p_149748_1_,
int p_149748_2_,
int p_149748_3_,
int p_149748_4_,
int p_149748_5_) |
int |
isProvidingWeakPower(IBlockAccess p_149709_1_,
int p_149709_2_,
int p_149709_3_,
int p_149709_4_,
int p_149709_5_) |
void |
onBlockAdded(World p_149726_1_,
int p_149726_2_,
int p_149726_3_,
int p_149726_4_) |
void |
onEntityCollidedWithBlock(World p_149670_1_,
int p_149670_2_,
int p_149670_3_,
int p_149670_4_,
Entity p_149670_5_) |
void |
registerBlockIcons(IIconRegister p_149651_1_) |
int |
tickRate(World p_149738_1_) |
void |
updateTick(World p_149674_1_,
int p_149674_2_,
int p_149674_3_,
int p_149674_4_,
java.util.Random p_149674_5_) |
breakBlock, canPlaceBlockAt, collisionRayTrace, func_150048_a, func_150049_b_, func_150051_a, func_150052_a, getCollisionBoundingBoxFromPool, getMobilityFlag, getRenderType, isOpaqueCube, isPowered, onNeighborBlockChange, quantityDropped, renderAsNormalBlock, setBlockBoundsBasedOnState
addCollisionBoxesToList, canBlockStay, canCollideCheck, canDropFromExplosion, canPlaceBlockOnSide, canReplace, canSilkHarvest, colorMultiplier, createStackedBlock, damageDropped, disableStats, dropBlockAsItem, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, func_149698_L, func_149730_j, func_149735_b, getAmbientOcclusionLightValue, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlocksMovement, getBlockTextureFromSide, getCanBlockGrass, getCreativeTabToDisplayOn, getDamageValue, getEnableStats, getExplosionResistance, getIcon, getIdFromBlock, getItem, getItemDropped, getItemIconName, getLightOpacity, getLightValue, getLocalizedName, getMapColor, getMaterial, getMixedBrightnessForBlock, getPlayerRelativeBlockHardness, getRenderBlockPass, getRenderColor, getSelectedBoundingBoxFromPool, getSubBlocks, getTextureName, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, harvestBlock, hasTileEntity, isAssociatedBlock, isBlockNormalCube, isBlockSolid, isCollidable, isEqualTo, isFlowerPot, isNormalCube, onBlockActivated, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onBlockPreDestroy, onEntityWalking, onFallenUpon, onPostBlockPlaced, quantityDroppedWithBonus, randomDisplayTick, registerBlocks, setBlockBounds, setBlockBoundsForItemRender, setBlockName, setBlockTextureName, setBlockUnbreakable, setCreativeTab, setHardness, setLightLevel, setLightOpacity, setResistance, setStepSound, setTickRandomly, shouldSideBeRendered, velocityToAddToEntity
public boolean canProvidePower()
canProvidePower
in class Block
public void onEntityCollidedWithBlock(World p_149670_1_, int p_149670_2_, int p_149670_3_, int p_149670_4_, Entity p_149670_5_)
onEntityCollidedWithBlock
in class Block
public void updateTick(World p_149674_1_, int p_149674_2_, int p_149674_3_, int p_149674_4_, java.util.Random p_149674_5_)
updateTick
in class Block
public int isProvidingWeakPower(IBlockAccess p_149709_1_, int p_149709_2_, int p_149709_3_, int p_149709_4_, int p_149709_5_)
isProvidingWeakPower
in class Block
public int isProvidingStrongPower(IBlockAccess p_149748_1_, int p_149748_2_, int p_149748_3_, int p_149748_4_, int p_149748_5_)
isProvidingStrongPower
in class Block
public void onBlockAdded(World p_149726_1_, int p_149726_2_, int p_149726_3_, int p_149726_4_)
onBlockAdded
in class BlockRailBase
public boolean hasComparatorInputOverride()
hasComparatorInputOverride
in class Block
public int getComparatorInputOverride(World p_149736_1_, int p_149736_2_, int p_149736_3_, int p_149736_4_, int p_149736_5_)
getComparatorInputOverride
in class Block
public void registerBlockIcons(IIconRegister p_149651_1_)
registerBlockIcons
in class Block