History - net.minecraft.block.LeverBlock

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

com.mojang.serialization.MapCodec<LeverBlock>: CODEC, field_46387, CODEC

Constructors

Methods

com.mojang.serialization.MapCodec<LeverBlock> (): codec, method_53969, getCodec

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

int (BlockState, BlockView, BlockPos, Direction): getSignal, method_9524, getWeakRedstonePower

int (BlockState, BlockView, BlockPos): ownSignal, method_1_5240, getWeakRedstonePower

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.level.block.LeverBlock

net.minecraft.class_2401

net.minecraft.block.LeverBlock

Fields

com.mojang.serialization.MapCodec<LeverBlock>: CODEC, field_46387, CODEC

BooleanProperty: POWERED, field_11265, POWERED

Function<BlockState, VoxelShape>: shapes, field_55776, shapeFunction

Constructors

(AbstractBlock$Settings)

Methods

com.mojang.serialization.MapCodec<LeverBlock> (): codec, method_53969, getCodec

Function<BlockState, VoxelShape> (): makeShapes, method_66447, createShapeFunction

VoxelShape (BlockState, BlockView, BlockPos, ShapeContext): getShape, method_9530, getOutlineShape

ActionResult (BlockState, World, BlockPos, PlayerEntity, BlockHitResult): useWithoutItem, method_55766, onUse

void (BlockState, ServerWorld, BlockPos, Explosion, BiConsumer<ItemStack, BlockPos>): onExplosionHit, method_55124, onExploded

void (BlockState, World, BlockPos, PlayerEntity): pull, method_21846, togglePower

void (PlayerEntity, WorldAccess, BlockPos, BlockState): playSound, method_60283, playClickSound

void (BlockState, WorldAccess, BlockPos, float): makeParticle, method_10308, spawnParticles

void (BlockState, World, BlockPos, Random): animateTick, method_9496, randomDisplayTick

void (BlockState, ServerWorld, BlockPos, boolean): affectNeighborsAfterRemoval, method_66388, onStateReplaced

int (BlockState, BlockView, BlockPos, Direction): getSignal, method_9524, getWeakRedstonePower

int (BlockState, BlockView, BlockPos, Direction): getDirectSignal, method_9603, getStrongRedstonePower

boolean (BlockState): isSignalSource, method_9506, emitsRedstonePower

void (BlockState, World, BlockPos): updateNeighbours, method_10309, updateNeighbors

void (StateManager$Builder<Block, BlockState>): createBlockStateDefinition, method_9515, appendProperties

VoxelShape (Map, BlockState): lambda$makeShapes$0, method_66446, method_66446