public abstract class BlockBasePressurePlate extends Block
Block.EnumOffsetType, Block.SoundTypeBLOCK_STATE_IDS, blockHardness, blockMaterial, blockParticleGravity, blockRegistry, blockResistance, blockState, capturedDrops, captureDrops, delegate, enableStats, field_181083_K, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, maxX, maxY, maxZ, minX, minY, minZ, needsRandomTick, RANDOM, SLIME_SOUND, slipperiness, soundTypeAnvil, soundTypeCloth, soundTypeGlass, soundTypeGrass, soundTypeGravel, soundTypeLadder, soundTypeMetal, soundTypePiston, soundTypeSand, soundTypeSnow, soundTypeStone, soundTypeWood, stepSound, translucent, useNeighborBrightness| Modifier | Constructor and Description | 
|---|---|
| protected  | BlockBasePressurePlate(Material materialIn) | 
| protected  | BlockBasePressurePlate(Material p_i46401_1_,
                      MapColor p_i46401_2_) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | breakBlock(World worldIn,
          BlockPos pos,
          IBlockState state) | 
| boolean | canPlaceBlockAt(World worldIn,
               BlockPos pos) | 
| boolean | canProvidePower()Can this block provide power. | 
| protected abstract int | computeRedstoneStrength(World worldIn,
                       BlockPos pos) | 
| boolean | func_181623_g() | 
| AxisAlignedBB | getCollisionBoundingBox(World worldIn,
                       BlockPos pos,
                       IBlockState state) | 
| int | getMobilityFlag() | 
| protected abstract int | getRedstoneStrength(IBlockState state) | 
| protected AxisAlignedBB | getSensitiveAABB(BlockPos pos)Returns the cubic AABB inset by 1/8 on all sides | 
| int | getStrongPower(IBlockAccess worldIn,
              BlockPos pos,
              IBlockState state,
              EnumFacing side) | 
| int | getWeakPower(IBlockAccess worldIn,
            BlockPos pos,
            IBlockState state,
            EnumFacing side) | 
| boolean | isFullCube() | 
| boolean | isOpaqueCube()Used to determine ambient occlusion and culling when rebuilding chunks for render | 
| boolean | isPassable(IBlockAccess worldIn,
          BlockPos pos) | 
| void | onEntityCollidedWithBlock(World worldIn,
                         BlockPos pos,
                         IBlockState state,
                         Entity entityIn)Called When an Entity Collided with the Block | 
| void | onNeighborBlockChange(World worldIn,
                     BlockPos pos,
                     IBlockState state,
                     Block neighborBlock)Called when a neighboring block changes. | 
| void | randomTick(World worldIn,
          BlockPos pos,
          IBlockState state,
          java.util.Random random)Called randomly when setTickRandomly is set to true (used by e.g. crops to grow, etc.) | 
| void | setBlockBoundsBasedOnState(IBlockAccess worldIn,
                          BlockPos pos) | 
| protected void | setBlockBoundsBasedOnState0(IBlockState state) | 
| void | setBlockBoundsForItemRender()Sets the block's bounds for rendering it as an item | 
| protected abstract IBlockState | setRedstoneStrength(IBlockState state,
                   int strength) | 
| int | tickRate(World worldIn)How many world ticks before ticking | 
| protected void | updateNeighbors(World worldIn,
               BlockPos pos)Notify block and block below of changes | 
| protected void | updateState(World worldIn,
           BlockPos pos,
           IBlockState state,
           int oldRedstoneStrength)Updates the pressure plate when stepped on | 
| void | updateTick(World worldIn,
          BlockPos pos,
          IBlockState state,
          java.util.Random rand) | 
addCollisionBoxesToList, addDestroyEffects, addHitEffects, addLandingEffects, beginLeavesDecay, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, colorMultiplier, colorMultiplier, createBlockState, createStackedBlock, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getBlockById, getBlockColor, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockLayer, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDamageValue, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getMetaFromState, getMixedBrightnessForBlock, getOffsetType, getPickBlock, getPickBlock, getPlayerRelativeBlockHardness, getRegistryName, getRenderColor, getRenderType, getSelectedBoundingBox, getStateById, getStateForEntityRender, getStateFromMeta, getStateId, getSubBlocks, getTickRandomly, getUnlocalizedName, getUseNeighborBrightness, getValidRotations, getWeakChanges, harvestBlock, hasComparatorInputOverride, hasTileEntity, hasTileEntity, isAABBInsideMaterial, isAir, isAssociatedBlock, isBeaconBase, isBed, isBedFoot, isBlockNormalCube, isBlockSolid, isBurning, isCollidable, isEntityInsideMaterial, isEqualTo, isFertile, isFireSource, isFlammable, isFlowerPot, isFoliage, isFullBlock, isLadder, isLeaves, isNormalCube, isNormalCube, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockEventReceived, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityCollidedWithBlock, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockBounds, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setRegistryName, setRegistryName, setRegistryName, setResistance, setStepSound, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, toStringprotected BlockBasePressurePlate(Material materialIn)
public void setBlockBoundsBasedOnState(IBlockAccess worldIn, BlockPos pos)
setBlockBoundsBasedOnState in class Blockprotected void setBlockBoundsBasedOnState0(IBlockState state)
public int tickRate(World worldIn)
public AxisAlignedBB getCollisionBoundingBox(World worldIn, BlockPos pos, IBlockState state)
getCollisionBoundingBox in class Blockpublic boolean isOpaqueCube()
isOpaqueCube in class Blockpublic boolean isFullCube()
isFullCube in class Blockpublic boolean isPassable(IBlockAccess worldIn, BlockPos pos)
isPassable in class Blockpublic boolean func_181623_g()
func_181623_g in class Blockpublic boolean canPlaceBlockAt(World worldIn, BlockPos pos)
canPlaceBlockAt in class Blockpublic void onNeighborBlockChange(World worldIn, BlockPos pos, IBlockState state, Block neighborBlock)
onNeighborBlockChange in class Blockpublic void randomTick(World worldIn, BlockPos pos, IBlockState state, java.util.Random random)
randomTick in class Blockpublic void updateTick(World worldIn, BlockPos pos, IBlockState state, java.util.Random rand)
updateTick in class Blockpublic void onEntityCollidedWithBlock(World worldIn, BlockPos pos, IBlockState state, Entity entityIn)
onEntityCollidedWithBlock in class Blockprotected void updateState(World worldIn, BlockPos pos, IBlockState state, int oldRedstoneStrength)
protected AxisAlignedBB getSensitiveAABB(BlockPos pos)
public void breakBlock(World worldIn, BlockPos pos, IBlockState state)
breakBlock in class Blockprotected void updateNeighbors(World worldIn, BlockPos pos)
public int getWeakPower(IBlockAccess worldIn, BlockPos pos, IBlockState state, EnumFacing side)
getWeakPower in class Blockpublic int getStrongPower(IBlockAccess worldIn, BlockPos pos, IBlockState state, EnumFacing side)
getStrongPower in class Blockpublic boolean canProvidePower()
canProvidePower in class Blockpublic void setBlockBoundsForItemRender()
setBlockBoundsForItemRender in class Blockpublic int getMobilityFlag()
getMobilityFlag in class Blockprotected abstract int getRedstoneStrength(IBlockState state)
protected abstract IBlockState setRedstoneStrength(IBlockState state, int strength)