public class BlockPressurePlate extends BlockBasePressurePlate
Modifier and Type | Class and Description |
---|---|
static class |
BlockPressurePlate.Sensitivity |
Block.EnumOffsetType
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
Modifier and Type | Field and Description |
---|---|
static PropertyBool |
POWERED |
PRESSED_AABB, PRESSURE_AABB, UNPRESSED_AABB
BLOCK_STATE_IDS, blockHardness, blockMapColor, blockMaterial, blockParticleGravity, blockResistance, blockSoundType, blockState, capturedDrops, captureDrops, enableStats, FULL_BLOCK_AABB, fullBlock, harvesters, isBlockContainer, lightOpacity, lightValue, needsRandomTick, NULL_AABB, RANDOM, REGISTRY, slipperiness, translucent, useNeighborBrightness
delegate
Modifier | Constructor and Description |
---|---|
protected |
BlockPressurePlate(Material materialIn,
BlockPressurePlate.Sensitivity sensitivityIn) |
Modifier and Type | Method and Description |
---|---|
protected int |
computeRedstoneStrength(World worldIn,
BlockPos pos) |
protected BlockStateContainer |
createBlockState() |
int |
getMetaFromState(IBlockState state) |
protected int |
getRedstoneStrength(IBlockState state) |
IBlockState |
getStateFromMeta(int meta) |
protected void |
playClickOffSound(World worldIn,
BlockPos pos) |
protected void |
playClickOnSound(World worldIn,
BlockPos color) |
protected IBlockState |
setRedstoneStrength(IBlockState state,
int strength) |
breakBlock, canPlaceBlockAt, canProvidePower, canSpawnInBlock, getBoundingBox, getCollisionBoundingBox, getMobilityFlag, getStrongPower, getWeakPower, isFullCube, isOpaqueCube, isPassable, neighborChanged, onEntityCollidedWithBlock, randomTick, tickRate, updateNeighbors, updateState, updateTick
addCollisionBoxToList, addCollisionBoxToList, addDestroyEffects, addHitEffects, addInformation, addLandingEffects, beginLeavesDecay, canBeReplacedByLeaves, canCollideCheck, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canPlaceBlockOnSide, canPlaceTorchOnTop, canRenderInLayer, canRenderInLayer, canReplace, canSilkHarvest, canSilkHarvest, canSustainLeaves, canSustainPlant, captureDrops, collisionRayTrace, createStackedBlock, createTileEntity, damageDropped, disableStats, doesSideBlockRendering, dropBlockAsItem, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillWithRain, getActualState, getAmbientOcclusionLightValue, getBedDirection, getBedSpawnPosition, getBlockById, getBlockFromItem, getBlockFromName, getBlockHardness, getBlockLayer, getBlockState, getComparatorInputOverride, getCreativeTabToDisplayOn, getDefaultState, getDrops, getEnableStats, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getHarvestLevel, getHarvestTool, getIdFromBlock, getItem, getItemDropped, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getLocalizedName, getMapColor, getMaterial, getOffsetType, getPackedLightmapCoords, getPickBlock, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getSoundType, getStateById, 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, isFoliage, isFullBlock, isFullyOpaque, isLadder, isLeaves, isNormalCube, isNormalCube, isReplaceable, isReplaceableOreGen, isSideSolid, isToolEffective, isTranslucent, isVisuallyOpaque, isWood, modifyAcceleration, onBlockActivated, onBlockAdded, onBlockClicked, onBlockDestroyedByExplosion, onBlockDestroyedByPlayer, onBlockExploded, onBlockHarvested, onBlockPlaced, onBlockPlacedBy, onEntityWalk, onFallenUpon, onLanded, onNeighborChange, onPlantGrow, quantityDropped, quantityDropped, quantityDroppedWithBonus, randomDisplayTick, rayTrace, recolorBlock, registerBlocks, removedByPlayer, requiresUpdates, rotateBlock, setBedOccupied, setBlockUnbreakable, setCreativeTab, setDefaultState, setHardness, setHarvestLevel, setHarvestLevel, setLightLevel, setLightOpacity, setResistance, setSoundType, setTickRandomly, setUnlocalizedName, shouldCheckWeakPower, shouldSideBeRendered, spawnAsEntity, toString, withMirror, withRotation
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public static final PropertyBool POWERED
protected BlockPressurePlate(Material materialIn, BlockPressurePlate.Sensitivity sensitivityIn)
protected int getRedstoneStrength(IBlockState state)
getRedstoneStrength
in class BlockBasePressurePlate
protected IBlockState setRedstoneStrength(IBlockState state, int strength)
setRedstoneStrength
in class BlockBasePressurePlate
protected void playClickOnSound(World worldIn, BlockPos color)
playClickOnSound
in class BlockBasePressurePlate
protected void playClickOffSound(World worldIn, BlockPos pos)
playClickOffSound
in class BlockBasePressurePlate
protected int computeRedstoneStrength(World worldIn, BlockPos pos)
computeRedstoneStrength
in class BlockBasePressurePlate
public IBlockState getStateFromMeta(int meta)
getStateFromMeta
in class Block
public int getMetaFromState(IBlockState state)
getMetaFromState
in class Block
protected BlockStateContainer createBlockState()
createBlockState
in class Block