Package net.minecraft.block
Class PressurePlateBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.AbstractPressurePlateBlock
net.minecraft.block.PressurePlateBlock
- Mappings:
Namespace Name official azfintermediary net/minecraft/class_170named net/minecraft/block/PressurePlateBlock
-
Field Summary
FieldsFields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockEntity, boundingBoxMaxX, boundingBoxMaxY, boundingBoxMaxZ, boundingBoxMinX, boundingBoxMinY, boundingBoxMinZ, field_483, field_484, field_486, field_487, field_7261, field_7262, field_7263, field_7264, field_7265, field_7266, field_7267, field_7268, field_9285, fullBlock, hardness, lightLevel, material, opacity, particleGravity, randomTicks, REGISTRY, slipperiness, soundGroup, stateManager, stats, transluscent, useNeighbourLight -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPressurePlateBlock(Material material, class_171 class_171) -
Method Summary
Modifier and TypeMethodDescriptionprotected StateManagerReturns a new state manager with a property array.intgetData(BlockState state) Returns the data value for a blockstate Throws anIllegalArmumentExceptionas this method does not workprotected intgetMinRedstoneOutput(BlockState state) protected intgetRedstoneOutput(World world, BlockPos pos) protected BlockStatesetRedstoneOutput(BlockState state, int value) stateFromData(int data) Returns a blockstate of the current block from it's idMethods inherited from class net.minecraft.block.AbstractPressurePlateBlock
blocksMovement, canBePlacedAtPos, emitsRedstonePower, getCollisionBox, getPistonInteractionType, getStrongRedstonePower, getTickRate, getWeakRedstonePower, hasTransperancy, method_8604, method_8606, neighborUpdate, onBreaking, onEntityCollision, onUpdateTick, renderAsNormalBlock, scheduledTick, setBlockItemBounds, setBoundingBox, setBoundingBox, updateNeighboursMethods inherited from class net.minecraft.block.Block
appendCollisionBoxes, appendItemStacks, areBlocksEqual, calcBlockBreakingData, canBePlacedAdjacent, canBeReplaced, canCollide, createStackFromBlock, disableStats, dropAsItem, dropExperience, get, getAmbientOcclusionLightLevel, getBlastResistance, getBlendColor, getBlockColor, getBlockFromItem, getBlockState, getBlockType, getBonusDrops, getBrightness, getByBlockState, getById, getColor, getColor, getComparatorOutput, getDefaultState, getDropCount, getDropItem, getIdByBlock, getItemGroup, getLightLevel, getMaterial, getMaterialColor, getMaxX, getMaxY, getMaxZ, getMeta, getMeta, getMinX, getMinY, getMinZ, getOpacity, getPickItem, getRenderLayerType, getSelectionBox, getStateFromData, getStateFromRawId, getStateManager, getStrength, getTranslatedName, getTranslationKey, harvest, hasBlockEntity, hasCollision, hasCollision, hasComparatorOutput, hasStats, isEqualTo, isFire, isFlowerPot, isFullBlock, isFullCube, isLeafBlock, isNormalBlock, isReplaceable, isSideInvisible, isTransluscent, method_414, method_8634, method_8666, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreakByPlayer, onCreation, onDestroyedByExplosion, onEntityCollision, onEvent, onLandedUpon, onPlaced, onSteppedOn, onUse, rainTick, randomDisplayTick, randomDropAsItem, requiresSilkTouch, setBlockSoundGroup, setBoundingBox, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, usesNeighbourLight
-
Field Details
-
POWERED
- Mappings:
Namespace Name Mixin selector official aLazf;a:Lbet;intermediary field_9584Lnet/minecraft/class_170;field_9584:Lnet/minecraft/class_2243;named POWEREDLnet/minecraft/block/PressurePlateBlock;POWERED:Lnet/minecraft/state/property/BooleanProperty;
-
field_298
- Mappings:
Namespace Name Mixin selector official bLazf;b:Lazh;intermediary field_298Lnet/minecraft/class_170;field_298:Lnet/minecraft/class_171;named field_298Lnet/minecraft/block/PressurePlateBlock;field_298:Lnet/minecraft/util/class_171;
-
-
Constructor Details
-
PressurePlateBlock
-
-
Method Details
-
getMinRedstoneOutput
- Specified by:
getMinRedstoneOutputin classAbstractPressurePlateBlock- Mappings:
Namespace Name Mixin selector official eLath;e(Lbec;)Iintermediary method_8609Lnet/minecraft/class_1445;method_8609(Lnet/minecraft/class_2232;)Inamed getMinRedstoneOutputLnet/minecraft/block/AbstractPressurePlateBlock;getMinRedstoneOutput(Lnet/minecraft/block/BlockState;)I
-
setRedstoneOutput
- Specified by:
setRedstoneOutputin classAbstractPressurePlateBlock- Mappings:
Namespace Name Mixin selector official aLath;a(Lbec;I)Lbec;intermediary method_8605Lnet/minecraft/class_1445;method_8605(Lnet/minecraft/class_2232;I)Lnet/minecraft/class_2232;named setRedstoneOutputLnet/minecraft/block/AbstractPressurePlateBlock;setRedstoneOutput(Lnet/minecraft/block/BlockState;I)Lnet/minecraft/block/BlockState;
-
getRedstoneOutput
- Specified by:
getRedstoneOutputin classAbstractPressurePlateBlock- Mappings:
Namespace Name Mixin selector official eLath;e(Laqu;Ldt;)Iintermediary method_8610Lnet/minecraft/class_1445;method_8610(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Inamed getRedstoneOutputLnet/minecraft/block/AbstractPressurePlateBlock;getRedstoneOutput(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
-
stateFromData
Returns a blockstate of the current block from it's id- Overrides:
stateFromDatain classBlock- Parameters:
data- The Blockstate's associated data value- Returns:
- The Default state
- Mappings:
Namespace Name Mixin selector official aLatr;a(I)Lbec;intermediary method_8635Lnet/minecraft/class_197;method_8635(I)Lnet/minecraft/class_2232;named stateFromDataLnet/minecraft/block/Block;stateFromData(I)Lnet/minecraft/block/BlockState;
-
getData
Returns the data value for a blockstate Throws anIllegalArmumentExceptionas this method does not work- Overrides:
getDatain classBlock- Parameters:
state- The Blockstate- Returns:
- Zero
- Mappings:
Namespace Name Mixin selector official cLatr;c(Lbec;)Iintermediary method_8671Lnet/minecraft/class_197;method_8671(Lnet/minecraft/class_2232;)Inamed getDataLnet/minecraft/block/Block;getData(Lnet/minecraft/block/BlockState;)I
-
appendProperties
Returns a new state manager with a property array.- Overrides:
appendPropertiesin classBlock- Returns:
- New state manager
- Mappings:
Namespace Name Mixin selector official eLatr;e()Lbed;intermediary method_8676Lnet/minecraft/class_197;method_8676()Lnet/minecraft/class_2233;named appendPropertiesLnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;
-