Package net.minecraft.block
Class WoodenButtonBlock
- All Implemented Interfaces:
ItemConvertible
public class WoodenButtonBlock extends AbstractButtonBlock
- Mappings:
Namespace Name official cff
intermediary net/minecraft/class_2571
named net/minecraft/block/WoodenButtonBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Fields inherited from class net.minecraft.block.AbstractButtonBlock
CEILING_X_PRESSED_SHAPE, CEILING_X_SHAPE, CEILING_Z_PRESSED_SHAPE, CEILING_Z_SHAPE, EAST_PRESSED_SHAPE, EAST_SHAPE, FLOOR_X_PRESSED_SHAPE, FLOOR_X_SHAPE, FLOOR_Z_PRESSED_SHAPE, FLOOR_Z_SHAPE, NORTH_PRESSED_SHAPE, NORTH_SHAPE, POWERED, SOUTH_PRESSED_SHAPE, SOUTH_SHAPE, WEST_PRESSED_SHAPE, WEST_SHAPE
Fields inherited from class net.minecraft.block.WallMountedBlock
FACE
Fields inherited from class net.minecraft.block.HorizontalFacingBlock
FACING
Fields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
Constructors Modifier Constructor Description protected
WoodenButtonBlock(AbstractBlock.Settings settings)
-
Method Summary
Modifier and Type Method Description protected SoundEvent
getClickSound(boolean powered)
Methods inherited from class net.minecraft.block.AbstractButtonBlock
appendProperties, emitsRedstonePower, getOutlineShape, getStrongRedstonePower, getWeakRedstonePower, onEntityCollision, onStateReplaced, onUse, playClickSound, powerOn, scheduledTick
Methods inherited from class net.minecraft.block.WallMountedBlock
canPlaceAt, canPlaceAt, getDirection, getPlacementState, getStateForNeighborUpdate
Methods inherited from class net.minecraft.block.HorizontalFacingBlock
mirror, rotate
Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, method_33614, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canReplace, createScreenHandlerFactory, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getVisualShape, hasComparatorOutput, hasSidedTransparency, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onProjectileHit, onStacksDropped, onSyncedBlockEvent, prepare, randomTick
-
Constructor Details
-
WoodenButtonBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lchs;<init>(Lchs$c;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
getClickSound
- Specified by:
getClickSound
in classAbstractButtonBlock
- Mappings:
Namespace Name Mixin selector official a
Lbxc;a(Z)Laef;
intermediary method_9712
Lnet/minecraft/class_2269;method_9712(Z)Lnet/minecraft/class_3414;
named getClickSound
Lnet/minecraft/block/AbstractButtonBlock;getClickSound(Z)Lnet/minecraft/sound/SoundEvent;
-