public class BlockPressurePlate extends BlockBasePressurePlate
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockPressurePlate.Sensitivity |
Block.EnumOffsetType, Block.Properties, Block.RenderSideCacheKey| Modifier and Type | Field and Description |
|---|---|
static BooleanProperty |
POWERED |
PRESSED_AABB, PRESSURE_AABB, UNPRESSED_AABBBLOCK_STATE_IDS, blockHardness, blockMapColor, blockResistance, blocksMovement, capturedDrops, captureDrops, harvesters, lightValue, LOGGER, material, needsRandomTick, RANDOM, soundType, stateContainerdelegate| Modifier | Constructor and Description |
|---|---|
protected |
BlockPressurePlate(BlockPressurePlate.Sensitivity p_i48348_1_,
Block.Properties p_i48348_2_) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
computeRedstoneStrength(World worldIn,
BlockPos pos) |
protected void |
fillStateContainer(StateContainer.Builder<Block,IBlockState> builder) |
protected int |
getRedstoneStrength(IBlockState state) |
protected void |
playClickOffSound(IWorld worldIn,
BlockPos pos) |
protected void |
playClickOnSound(IWorld worldIn,
BlockPos pos) |
protected IBlockState |
setRedstoneStrength(IBlockState state,
int strength) |
canProvidePower, canSpawnInBlock, getBlockFaceShape, getPushReaction, getShape, getStrongPower, getWeakPower, isFullCube, isValidPosition, onEntityCollision, onReplaced, tick, tickRate, updateNeighbors, updatePostPlacement, updateStateaddInformation, allowsMovement, animateTick, asItem, canDropFromExplosion, canEntitySpawn, canSilkHarvest, canSilkHarvest, canSustainPlant, captureDrops, causesSuffocation, collisionRayTrace, doesSideFillSquare, dropBlockAsItemWithChance, dropXpOnBlockBreak, eventReceived, fillItemGroup, fillWithRain, getAmbientOcclusionLightValue, getBlockFromItem, getBlockHardness, getCollisionShape, getComparatorInputOverride, getDefaultState, getExplosionResistance, getFluidState, getHarvestLevel, getHarvestTool, getItem, getItemDropped, getItemsToDropCount, getLightValue, getMapColor, getMaterial, getNameTextComponent, getOffset, getOffsetType, getOpacity, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getPositionRandom, getRaytraceShape, getRenderLayer, getRenderShape, getRenderType, getSilkTouchDrop, getSlipperiness, getSlipperiness, getSoundType, getStateById, getStateContainer, getStateForPlacement, getStateId, getTickRandomly, getTranslationKey, getValidBlockForPosition, harvestBlock, hasComparatorInputOverride, hasCustomBreakingProgress, hasTileEntity, isAir, isBlockNormalCube, isCollidable, isCollidable, isDirt, isExceptBlockForAttachWithPiston, isExceptionBlockForAttaching, isIn, isNormalCube, isOpaque, isOpaqueCube, isReplaceable, isRock, isSideInvisible, isSolid, isTopSolid, isVariableOpacity, makeCuboidShape, mirror, needsPostProcessing, neighborChanged, nudgeEntitiesWithNewState, onBlockActivated, onBlockAdded, onBlockClicked, onBlockHarvested, onBlockPlacedBy, onEntityWalk, onExplosionDestroy, onFallenUpon, onLanded, onPlayerDestroy, propagatesSkylightDown, quantityDropped, randomTick, registerBlocks, replaceBlock, rotate, setDefaultState, shouldSideBeRendered, spawnAsEntity, toString, updateDiagonalNeighbors, updateNeighbors, useNeighborBrightnessgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, beginLeaveDecay, canBeConnectedTo, canBeReplacedByLeaves, canConnectRedstone, canCreatureSpawn, canEntityDestroy, canHarvestBlock, canPlaceTorchOnTop, canRenderInLayer, createTileEntity, doesSideBlockChestOpening, doesSideBlockRendering, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getDrops, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getExtendedState, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRayTraceResult, getSoundType, getStateAtViewpoint, getStateForPlacement, getValidRotations, getWeakChanges, hasTileEntity, isAir, isBeaconBase, isBed, isBedFoot, isBurning, isFertile, isFireSource, isFlammable, isFoliage, isLadder, isNormalCube, isReplaceableOreGen, isStickyBlock, isToolEffective, isTopSolid, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, recolorBlock, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPowerpublic static final BooleanProperty POWERED
protected BlockPressurePlate(BlockPressurePlate.Sensitivity p_i48348_1_, Block.Properties p_i48348_2_)
protected int getRedstoneStrength(IBlockState state)
getRedstoneStrength in class BlockBasePressurePlateprotected IBlockState setRedstoneStrength(IBlockState state, int strength)
setRedstoneStrength in class BlockBasePressurePlateprotected void playClickOnSound(IWorld worldIn, BlockPos pos)
playClickOnSound in class BlockBasePressurePlateprotected void playClickOffSound(IWorld worldIn, BlockPos pos)
playClickOffSound in class BlockBasePressurePlateprotected int computeRedstoneStrength(World worldIn, BlockPos pos)
computeRedstoneStrength in class BlockBasePressurePlateprotected void fillStateContainer(StateContainer.Builder<Block,IBlockState> builder)
fillStateContainer in class Block