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 aswintermediary net/minecraft/class_170named net/minecraft/block/PressurePlateBlock
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.block.Block
Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PressurePlateBlock.ActivationRulestatic final BooleanPropertyFields inherited from class net.minecraft.block.AbstractPressurePlateBlock
field_12563, field_12564, field_12565Fields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockEntity, blockSoundGroup, collisionBox, EMPTY_BOX, fullBlock, hardness, lightLevel, material, materialColor, opacity, particleGravity, randomTicks, REGISTRY, slipperiness, stateManager, stats, transluscent, useNeighbourLight -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPressurePlateBlock(Material material, PressurePlateBlock.ActivationRule activationRule) -
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 voidmethod_11549(World world, BlockPos blockPos) protected voidmethod_11550(World world, BlockPos blockPos) 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, canMobSpawnInside, getCollisionBox, getPistonBehavior, getTickRate, isFullBoundsCubeForCulling, method_11548, method_11562, method_11566, method_14307, method_8640, method_8653, method_8664, onBreak, onBreaking, onEntityCollision, onUpdateTick, scheduledTick, updateNeighboursMethods inherited from class net.minecraft.block.Block
addStacksForDisplay, appendCollisionBoxes, appendCollisionBoxes, areBlocksEqual, canBePlacedAdjacent, canCollide, createStackFromBlock, disableStats, dropAsItem, dropExperience, get, getBlastResistance, getBlockFromItem, getBlockRenderType, getBlockState, getBonusDrops, getByBlockState, getById, getComparatorOutput, getDefaultState, getDropCount, getDropItem, getHardness, getIdByBlock, getItemGroup, getLuminance, getMaterial, getMaterialColor, getMeta, getOffsetType, getOpacity, getRenderLayerType, getSoundGroup, getStateFromData, getStateFromRawId, getStateManager, getTranslatedName, getTranslationKey, hasBlockEntity, hasCollision, hasStats, isEqualTo, isFire, isFullBlock, isTransluscent, method_11557, method_11559, method_11563, method_11564, method_11565, method_11568, method_11575, method_11576, method_11577, method_13315, method_13702, method_13703, method_13704, method_14306, method_14308, method_14309, method_414, method_435, method_8638, method_8640, method_8651, method_8654, method_8669, onBlockBreak, onBlockBreakStart, onBreakByPlayer, onBreakByPlayer, onCreation, onDestroyedByExplosion, onEntityCollision, onLandedUpon, onPlaced, onSteppedOn, rainTick, randomDropAsItem, requiresSilkTouch, setBlockSoundGroup, setDefaultState, setEntityVelocity, setItemGroup, setLightLevel, setOpacity, setResistance, setStrength, setTickRandomly, setTranslationKey, setUnbreakable, setup, shouldDropItemsOnExplosion, ticksRandomly, toString, use, useNeighbourLight, withMirror, withRotation
-
Field Details
-
POWERED
- Mappings:
Namespace Name Mixin selector official dLasw;d:Laxf;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 eLasw;e:Lasw$a;intermediary field_298Lnet/minecraft/class_170;field_298:Lnet/minecraft/class_170$class_171;named field_298Lnet/minecraft/block/PressurePlateBlock;field_298:Lnet/minecraft/block/PressurePlateBlock$ActivationRule;
-
-
Constructor Details
-
PressurePlateBlock
-
-
Method Details
-
getMinRedstoneOutput
- Specified by:
getMinRedstoneOutputin classAbstractPressurePlateBlock- Mappings:
Namespace Name Mixin selector official iLaor;i(Lawt;)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 aLaor;a(Lawt;I)Lawt;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;
-
method_11549
- Specified by:
method_11549in classAbstractPressurePlateBlock- Mappings:
Namespace Name Mixin selector official bLaor;b(Lamu;Let;)Vintermediary method_11549Lnet/minecraft/class_1445;method_11549(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed method_11549Lnet/minecraft/block/AbstractPressurePlateBlock;method_11549(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
method_11550
- Specified by:
method_11550in classAbstractPressurePlateBlock- Mappings:
Namespace Name Mixin selector official cLaor;c(Lamu;Let;)Vintermediary method_11550Lnet/minecraft/class_1445;method_11550(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed method_11550Lnet/minecraft/block/AbstractPressurePlateBlock;method_11550(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
getRedstoneOutput
- Specified by:
getRedstoneOutputin classAbstractPressurePlateBlock- Mappings:
Namespace Name Mixin selector official eLaor;e(Lamu;Let;)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 aLaow;a(I)Lawt;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 eLaow;e(Lawt;)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 bLaow;b()Lawu;intermediary method_8676Lnet/minecraft/class_197;method_8676()Lnet/minecraft/class_2233;named appendPropertiesLnet/minecraft/block/Block;appendProperties()Lnet/minecraft/state/StateManager;
-