History - net.minecraft.block.LeavesBlock

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

com.mojang.serialization.MapCodec<LeavesBlock>: CODEC, field_1_7417, CODEC

Constructors

Methods

com.mojang.serialization.MapCodec<? extends LeavesBlock> (): codec, method_53969, getCodec

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$0, method_1_6636, method_1_6636

AmbientLeavesBlockSoundPlayer (LeavesBlock): lambda$static$1, method_1_6637, method_1_6637

26.3-snapshot-1

Names

Fields

float: leafParticleChance, field_55773, leafParticleChance

int: TICK_DELAY, field_31112, field_31112

int: TICK_DELAY, field_31112, OPACITY

com.mojang.serialization.MapCodec<LeavesBlock>: CODEC, field_1_7417, CODEC

AmbientLeavesBlockSoundPlayer: ambientLeavesBlockSoundPlayer, field_1_7418, soundPlayer

Constructors

(float, AbstractBlock$Settings)

(AmbientLeavesBlockSoundPlayer, AbstractBlock$Settings)

Methods

void (World, BlockPos, Random, BlockState, BlockPos): makeFallingLeavesParticles, method_66444, spawnLeafParticle

void (World, BlockPos, Random): spawnFallingLeavesParticle, method_67234, spawnLeafParticle

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$0, method_1_6636, method_1_6636

AmbientLeavesBlockSoundPlayer (LeavesBlock): lambda$static$1, method_1_6637, method_1_6637

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

int (BlockState): getLightBlock, method_9505, getOpacity

int (BlockState): getLightDampening, method_9505, getOpacity

1.21.11_unobfuscated

Names

net.minecraft.world.level.block.LeavesBlock

net.minecraft.class_2397

net.minecraft.block.LeavesBlock

Fields

int: DECAY_DISTANCE, field_31111, MAX_DISTANCE

IntProperty: DISTANCE, field_11199, DISTANCE

BooleanProperty: PERSISTENT, field_11200, PERSISTENT

BooleanProperty: WATERLOGGED, field_38227, WATERLOGGED

float: leafParticleChance, field_55773, leafParticleChance

int: TICK_DELAY, field_31112, field_31112

boolean: cutoutLeaves, field_64683, cutoutLeaves

Constructors

(float, AbstractBlock$Settings)

Methods

com.mojang.serialization.MapCodec<? extends LeavesBlock> (): codec, method_53969, getCodec

boolean (BlockState, BlockState, Direction): skipRendering, method_9522, isSideInvisible

void (boolean): setCutoutLeaves, method_76771, setCutoutLeaves

VoxelShape (BlockState, BlockView, BlockPos): getBlockSupportShape, method_25959, getSidesShape

boolean (BlockState): isRandomlyTicking, method_9542, hasRandomTicks

void (BlockState, ServerWorld, BlockPos, Random): randomTick, method_9514, randomTick

boolean (BlockState): decaying, method_42311, shouldDecay

void (BlockState, ServerWorld, BlockPos, Random): tick, method_9588, scheduledTick

int (BlockState): getLightBlock, method_9505, getOpacity

BlockState (BlockState, WorldView, ScheduledTickView, BlockPos, Direction, BlockPos, BlockState, Random): updateShape, method_9559, getStateForNeighborUpdate

BlockState (BlockState, WorldAccess, BlockPos): updateDistance, method_10300, updateDistanceFromLogs

int (BlockState): getDistanceAt, method_10302, getDistanceFromLog

OptionalInt (BlockState): getOptionalDistanceAt, method_49817, getOptionalDistanceFromLog

FluidState (BlockState): getFluidState, method_9545, getFluidState

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

void (World, BlockPos, Random, BlockState, BlockPos): makeDrippingWaterParticles, method_66442, spawnWaterParticle

void (World, BlockPos, Random, BlockState, BlockPos): makeFallingLeavesParticles, method_66444, spawnLeafParticle

void (World, BlockPos, Random): spawnFallingLeavesParticle, method_67234, spawnLeafParticle

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

BlockState (ItemPlacementContext): getStateForPlacement, method_9605, getPlacementState