net.minecraft.block

public abstract class AbstractBlock$AbstractBlockState

extends State<Block, BlockState> implements EntryConvertible<Block>

All mapped superinterfaces:

EntryConvertible

net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase
net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase
net.minecraft.class_4970$class_4971
net.minecraft.block.AbstractBlock$AbstractBlockState

Field summary

Modifier and TypeField
private static final Direction[]
DIRECTIONS
DIRECTIONS
field_52644
DIRECTIONS
private static final VoxelShape[]
EMPTY_OCCLUSION_SHAPES
EMPTY_OCCLUSION_SHAPES
field_52645
EMPTY_CULLING_FACES
private static final VoxelShape[]
FULL_BLOCK_OCCLUSION_SHAPES
FULL_BLOCK_OCCLUSION_SHAPES
field_52646
FULL_CULLING_FACES
private final int
lightEmission
lightEmission
field_23167
luminance
private final boolean
useShapeForLightOcclusion
useShapeForLightOcclusion
field_23168
hasSidedTransparency
private final boolean
isAir
isAir
field_23169
isAir
private final boolean
ignitedByLava
ignitedByLava
field_43392
burnable
private final boolean
liquid
liquid
field_44480
liquid
private boolean
legacySolid
legacySolid
field_44624
solid
private final PistonBehavior
pushReaction
pushReaction
field_43393
pistonBehavior
private final MapColor
mapColor
mapColor
field_23171
mapColor
private final float
destroySpeed
destroySpeed
field_23172
hardness
private final boolean
requiresCorrectToolForDrops
requiresCorrectToolForDrops
field_25184
toolRequired
private final boolean
canOcclude
canOcclude
field_23173
opaque
private final AbstractBlock$ContextPredicate
isRedstoneConductor
isRedstoneConductor
field_23174
solidBlockPredicate
private final AbstractBlock$ContextPredicate
isSuffocating
isSuffocating
field_23175
suffocationPredicate
private final AbstractBlock$TypedContextPredicate<Box>
isViewBlocking
isViewBlocking
field_23176
blockVisionPredicate
private final AbstractBlock$PostProcessPredicate
postProcess
postProcess
field_1_2487
postProcessPredicate
private final Predicate<BlockState>
emissiveRendering
emissiveRendering
field_23178
emissiveLightingPredicate
private final AbstractBlock$Offsetter
offsetFunction
offsetFunction
field_42817
offsetter
private final boolean
spawnTerrainParticles
spawnTerrainParticles
field_40338
blockBreakParticles
private final NoteBlockInstrument
instrument
instrument
field_44625
instrument
private final boolean
replaceable
replaceable
field_44626
replaceable
private AbstractBlock$AbstractBlockState$ShapeCache
cache
cache
field_23166
shapeCache
private FluidState
fluidState
fluidState
field_40339
fluidState
private boolean
isRandomlyTicking
isRandomlyTicking
field_40340
ticksRandomly
private boolean
solidRender
solidRender
field_52639
opaqueFullCube
private VoxelShape
occlusionShape
occlusionShape
field_52640
cullingShape
private VoxelShape[]
occlusionShapesByFace
occlusionShapesByFace
field_52641
cullingFaces
private boolean
propagatesSkylightDown
propagatesSkylightDown
field_52642
transparent
private int
lightDampening
lightDampening
field_52643
opacity

Constructor summary

ModifierConstructor
protected (Block block, Property<?>[] properties, Comparable<?>[] values)

Method summary

Modifier and TypeMethod
private boolean
calculateSolid()
calculateSolid()
method_51365()
shouldBeSolid()
public void
initCache()
initCache()
method_26200()
initShapeCache()
public Block
getBlock()
getBlock()
method_26204()
getBlock()
public RegistryEntry<Block>
typeHolder()
typeHolder()
method_40180()
getRegistryEntry()
public boolean
isSolid()
isSolid()
method_51367()
isSolid()
public boolean
isValidSpawn(BlockGetter level, BlockPos pos, EntityType<?> type)
isValidSpawn(BlockGetter level, BlockPos pos, EntityType<?> type)
method_26170(class_1922 arg0, class_2338 arg1, class_1299<?> arg2)
allowsSpawning(BlockView world, BlockPos pos, EntityType<?> type)
public boolean
propagatesSkylightDown()
propagatesSkylightDown()
method_26167()
isTransparent()
public int
getLightDampening()
getLightDampening()
method_26193()
getOpacity()
public VoxelShape
getFaceOcclusionShape(Direction direction)
getFaceOcclusionShape(Direction direction)
method_26173(class_2350 arg0)
getCullingFace(Direction direction)
public VoxelShape
getOcclusionShape()
getOcclusionShape()
method_26201()
getCullingShape()
public boolean
hasLargeCollisionShape()
hasLargeCollisionShape()
method_26209()
exceedsCube()
public boolean
useShapeForLightOcclusion()
useShapeForLightOcclusion()
method_26211()
hasSidedTransparency()
public int
getLightEmission()
getLightEmission()
method_26213()
getLuminance()
public boolean
isAir()
isAir()
method_26215()
isAir()
public boolean
ignitedByLava()
ignitedByLava()
method_50011()
isBurnable()
public boolean
liquid()
liquid()
method_51176()
isLiquid()
public MapColor
getMapColor(BlockGetter level, BlockPos pos)
getMapColor(BlockGetter level, BlockPos pos)
method_26205(class_1922 arg0, class_2338 arg1)
getMapColor(BlockView world, BlockPos pos)
public BlockState
rotate(Rotation rotation)
rotate(Rotation rotation)
method_26186(class_2470 arg0)
rotate(BlockRotation rotation)
public BlockState
mirror(Mirror mirror)
mirror(Mirror mirror)
method_26185(class_2415 arg0)
mirror(BlockMirror mirror)
public BlockRenderType
getRenderShape()
getRenderShape()
method_26217()
getRenderType()
public boolean
emissiveRendering()
emissiveRendering()
method_26208()
hasEmissiveLighting()
public float
getShadeBrightness(BlockGetter level, BlockPos pos)
getShadeBrightness(BlockGetter level, BlockPos pos)
method_26210(class_1922 arg0, class_2338 arg1)
getAmbientOcclusionLightLevel(BlockView world, BlockPos pos)
public boolean
isRedstoneConductor(BlockGetter level, BlockPos pos)
isRedstoneConductor(BlockGetter level, BlockPos pos)
method_26212(class_1922 arg0, class_2338 arg1)
isSolidBlock(BlockView world, BlockPos pos)
public boolean
isSignalSource()
isSignalSource()
method_26219()
emitsRedstonePower()
public boolean
shouldRedstoneWireConnectTo(BlockGetter level, BlockPos pos, Direction direction)
shouldRedstoneWireConnectTo(BlockGetter level, BlockPos pos, Direction direction)
method_1_9803(class_1922 arg0, class_2338 arg1, class_2350 arg2)
connectsTo(BlockView world, BlockPos pos, Direction dir)
public int
getOwnSignal(BlockGetter level, BlockPos pos)
getOwnSignal(BlockGetter level, BlockPos pos)
method_1_5241(class_1922 arg0, class_2338 arg1)
getWeakRedstonePower(BlockView world, BlockPos pos)
public int
getSignal(BlockGetter level, BlockPos pos, Direction direction)
getSignal(BlockGetter level, BlockPos pos, Direction direction)
method_26195(class_1922 arg0, class_2338 arg1, class_2350 arg2)
getWeakRedstonePower(BlockView world, BlockPos pos, Direction direction)
public boolean
hasAnalogOutputSignal()
hasAnalogOutputSignal()
method_26221()
hasComparatorOutput()
public int
getAnalogOutputSignal(Level level, BlockPos pos, Direction direction)
getAnalogOutputSignal(Level level, BlockPos pos, Direction direction)
method_26176(class_1937 arg0, class_2338 arg1, class_2350 arg2)
getComparatorOutput(World world, BlockPos pos, Direction direction)
public float
getDestroySpeed(BlockGetter level, BlockPos pos)
getDestroySpeed(BlockGetter level, BlockPos pos)
method_26214(class_1922 arg0, class_2338 arg1)
getHardness(BlockView world, BlockPos pos)
public float
getDestroyProgress(Player player, BlockGetter level, BlockPos pos)
getDestroyProgress(Player player, BlockGetter level, BlockPos pos)
method_26165(class_1657 arg0, class_1922 arg1, class_2338 arg2)
calcBlockBreakingDelta(PlayerEntity player, BlockView world, BlockPos pos)
public int
getDirectSignal(BlockGetter level, BlockPos pos, Direction direction)
getDirectSignal(BlockGetter level, BlockPos pos, Direction direction)
method_26203(class_1922 arg0, class_2338 arg1, class_2350 arg2)
getStrongRedstonePower(BlockView world, BlockPos pos, Direction direction)
public PistonBehavior
getPistonPushReaction()
getPistonPushReaction()
method_26223()
getPistonBehavior()
public boolean
isSolidRender()
isSolidRender()
method_26216()
isOpaqueFullCube()
public boolean
canOcclude()
canOcclude()
method_26225()
isOpaque()
public boolean
skipRendering(BlockState neighborState, Direction direction)
skipRendering(BlockState neighborState, Direction direction)
method_26187(class_2680 arg0, class_2350 arg1)
isSideInvisible(BlockState state, Direction direction)
public VoxelShape
getShape(BlockGetter level, BlockPos pos)
getShape(BlockGetter level, BlockPos pos)
method_26218(class_1922 arg0, class_2338 arg1)
getOutlineShape(BlockView world, BlockPos pos)
public VoxelShape
getShape(BlockGetter level, BlockPos pos, CollisionContext context)
getShape(BlockGetter level, BlockPos pos, CollisionContext context)
method_26172(class_1922 arg0, class_2338 arg1, class_3726 arg2)
getOutlineShape(BlockView world, BlockPos pos, ShapeContext context)
public VoxelShape
getCollisionShape(BlockGetter level, BlockPos pos)
getCollisionShape(BlockGetter level, BlockPos pos)
method_26220(class_1922 arg0, class_2338 arg1)
getCollisionShape(BlockView world, BlockPos pos)
public VoxelShape
getCollisionShape(BlockGetter level, BlockPos pos, CollisionContext context)
getCollisionShape(BlockGetter level, BlockPos pos, CollisionContext context)
method_26194(class_1922 arg0, class_2338 arg1, class_3726 arg2)
getCollisionShape(BlockView world, BlockPos pos, ShapeContext context)
public VoxelShape
getEntityInsideCollisionShape(BlockGetter level, BlockPos pos, Entity entity)
getEntityInsideCollisionShape(BlockGetter level, BlockPos pos, Entity entity)
method_64025(class_1922 arg0, class_2338 arg1, class_1297 arg2)
getInsideCollisionShape(BlockView world, BlockPos pos, Entity entity)
public VoxelShape
getBlockSupportShape(BlockGetter level, BlockPos pos)
getBlockSupportShape(BlockGetter level, BlockPos pos)
method_26222(class_1922 arg0, class_2338 arg1)
getSidesShape(BlockView world, BlockPos pos)
public VoxelShape
getVisualShape(BlockGetter level, BlockPos pos, CollisionContext context)
getVisualShape(BlockGetter level, BlockPos pos, CollisionContext context)
method_26202(class_1922 arg0, class_2338 arg1, class_3726 arg2)
getCameraCollisionShape(BlockView world, BlockPos pos, ShapeContext context)
public VoxelShape
getInteractionShape(BlockGetter level, BlockPos pos)
getInteractionShape(BlockGetter level, BlockPos pos)
method_26224(class_1922 arg0, class_2338 arg1)
getRaycastShape(BlockView world, BlockPos pos)
public final boolean
entityCanStandOn(BlockGetter level, BlockPos pos, Entity entity)
entityCanStandOn(BlockGetter level, BlockPos pos, Entity entity)
method_26168(class_1922 arg0, class_2338 arg1, class_1297 arg2)
hasSolidTopSurface(BlockView world, BlockPos pos, Entity entity)
public final boolean
entityCanStandOnFace(BlockGetter level, BlockPos pos, Entity entity, Direction faceDirection)
entityCanStandOnFace(BlockGetter level, BlockPos pos, Entity entity, Direction faceDirection)
method_26169(class_1922 arg0, class_2338 arg1, class_1297 arg2, class_2350 arg3)
isSolidSurface(BlockView world, BlockPos pos, Entity entity, Direction direction)
public Vec3d
getOffset(BlockPos pos)
getOffset(BlockPos pos)
method_26226(class_2338 arg0)
getModelOffset(BlockPos pos)
public boolean
hasOffsetFunction()
hasOffsetFunction()
method_49228()
hasModelOffset()
public boolean
triggerEvent(Level level, BlockPos pos, int b0, int b1)
triggerEvent(Level level, BlockPos pos, int b0, int b1)
method_26177(class_1937 arg0, class_2338 arg1, int arg2, int arg3)
onSyncedBlockEvent(World world, BlockPos pos, int type, int data)
public void
handleNeighborChanged(Level level, BlockPos pos, Block block, Orientation orientation, boolean movedByPiston)
handleNeighborChanged(Level level, BlockPos pos, Block block, Orientation orientation, boolean movedByPiston)
method_26181(class_1937 arg0, class_2338 arg1, class_2248 arg2, class_9904 arg3, boolean arg4)
neighborUpdate(World world, BlockPos pos, Block sourceBlock, WireOrientation wireOrientation, boolean notify)
public final void
updateNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags)
updateNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags)
method_30101(class_1936 arg0, class_2338 arg1, int arg2)
updateNeighbors(WorldAccess world, BlockPos pos, int flags)
public final void
updateNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit)
updateNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit)
method_26183(class_1936 arg0, class_2338 arg1, int arg2, int arg3)
updateNeighbors(WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth)
public final void
updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags)
updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags)
method_30102(class_1936 arg0, class_2338 arg1, int arg2)
prepare(WorldAccess world, BlockPos pos, int flags)
public void
updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit)
updateIndirectNeighbourShapes(LevelAccessor level, BlockPos pos, int updateFlags, int updateLimit)
method_26198(class_1936 arg0, class_2338 arg1, int arg2, int arg3)
prepare(WorldAccess world, BlockPos pos, int flags, int maxUpdateDepth)
public void
onPlace(Level level, BlockPos pos, BlockState oldState, boolean movedByPiston)
onPlace(Level level, BlockPos pos, BlockState oldState, boolean movedByPiston)
method_26182(class_1937 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
onBlockAdded(World world, BlockPos pos, BlockState state, boolean notify)
public void
affectNeighborsAfterRemoval(ServerLevel level, BlockPos pos, boolean movedByPiston)
affectNeighborsAfterRemoval(ServerLevel level, BlockPos pos, boolean movedByPiston)
method_66478(class_3218 arg0, class_2338 arg1, boolean arg2)
onStateReplaced(ServerWorld world, BlockPos pos, boolean moved)
public void
onExplosionHit(ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit)
onExplosionHit(ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit)
method_55225(class_3218 arg0, class_2338 arg1, class_1927 arg2, BiConsumer<class_1799, class_2338> arg3)
onExploded(ServerWorld world, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> stackMerger)
public void
tick(ServerLevel level, BlockPos pos, RandomSource random)
tick(ServerLevel level, BlockPos pos, RandomSource random)
method_26192(class_3218 arg0, class_2338 arg1, class_5819 arg2)
scheduledTick(ServerWorld world, BlockPos pos, Random random)
public void
randomTick(ServerLevel level, BlockPos pos, RandomSource random)
randomTick(ServerLevel level, BlockPos pos, RandomSource random)
method_26199(class_3218 arg0, class_2338 arg1, class_5819 arg2)
randomTick(ServerWorld world, BlockPos pos, Random random)
public void
entityInside(Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise)
entityInside(Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise)
method_26178(class_1937 arg0, class_2338 arg1, class_1297 arg2, class_10774 arg3, boolean arg4)
onEntityCollision(World world, BlockPos pos, Entity entity, EntityCollisionHandler collisionHandler, boolean substantial)
public void
spawnAfterBreak(ServerLevel level, BlockPos pos, ItemStack tool, boolean dropExperience)
spawnAfterBreak(ServerLevel level, BlockPos pos, ItemStack tool, boolean dropExperience)
method_26180(class_3218 arg0, class_2338 arg1, class_1799 arg2, boolean arg3)
onStacksDropped(ServerWorld world, BlockPos pos, ItemStack tool, boolean dropExperience)
public List<ItemStack>
getDrops(LootParams$Builder params)
getDrops(LootParams$Builder params)
method_26189(class_8567$class_8568 arg0)
getDroppedStacks(LootWorldContext$Builder builder)
public ActionResult
useItemOn(ItemStack itemStack, Level level, Player player, InteractionHand hand, BlockHitResult hitResult)
useItemOn(ItemStack itemStack, Level level, Player player, InteractionHand hand, BlockHitResult hitResult)
method_55780(class_1799 arg0, class_1937 arg1, class_1657 arg2, class_1268 arg3, class_3965 arg4)
onUseWithItem(ItemStack stack, World world, PlayerEntity player, Hand hand, BlockHitResult hit)
public ActionResult
useWithoutItem(Level level, Player player, BlockHitResult hitResult)
useWithoutItem(Level level, Player player, BlockHitResult hitResult)
method_55781(class_1937 arg0, class_1657 arg1, class_3965 arg2)
onUse(World world, PlayerEntity player, BlockHitResult hit)
public boolean
showAsInteractableInSpectatorMode(Level level, BlockPos pos, BlockHitResult hitResult)
showAsInteractableInSpectatorMode(Level level, BlockPos pos, BlockHitResult hitResult)
method_1_8846(class_1937 arg0, class_2338 arg1, class_3965 arg2)
isSpectatorInteractable(World world, BlockPos pos, BlockHitResult hit)
public void
attack(Level level, BlockPos pos, Player player)
attack(Level level, BlockPos pos, Player player)
method_26179(class_1937 arg0, class_2338 arg1, class_1657 arg2)
onBlockBreakStart(World world, BlockPos pos, PlayerEntity player)
public boolean
isSuffocating(BlockGetter level, BlockPos pos)
isSuffocating(BlockGetter level, BlockPos pos)
method_26228(class_1922 arg0, class_2338 arg1)
shouldSuffocate(BlockView world, BlockPos pos)
public boolean
isLightPermeable()
isLightPermeable()
method_1_9520()
isDiscountedForAmbientOcclusion()
public boolean
isViewBlocking(BlockGetter level, BlockPos blockPos, AABB nearPlaneBox)
isViewBlocking(BlockGetter level, BlockPos blockPos, AABB nearPlaneBox)
method_26230(class_1922 arg0, class_2338 arg1, class_238 arg2)
shouldBlockVision(BlockView world, BlockPos pos, Box box)
public BlockState
updateShape(LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
updateShape(LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
method_26191(class_4538 arg0, class_10225 arg1, class_2338 arg2, class_2350 arg3, class_2338 arg4, class_2680 arg5, class_5819 arg6)
getStateForNeighborUpdate(WorldView world, ScheduledTickView tickView, BlockPos pos, Direction direction, BlockPos neighborPos, BlockState neighborState, Random random)
public boolean
isPathfindable(PathComputationType type)
isPathfindable(PathComputationType type)
method_26171(class_10 arg0)
canPathfindThrough(NavigationType type)
public boolean
canBeReplaced(BlockPlaceContext context)
canBeReplaced(BlockPlaceContext context)
method_26166(class_1750 arg0)
canReplace(ItemPlacementContext context)
public boolean
canBeReplaced(Fluid fluid)
canBeReplaced(Fluid fluid)
method_26188(class_3611 arg0)
canBucketPlace(Fluid fluid)
public boolean
canBeReplaced()
canBeReplaced()
method_45474()
isReplaceable()
public boolean
canSurvive(LevelReader level, BlockPos pos)
canSurvive(LevelReader level, BlockPos pos)
method_26184(class_4538 arg0, class_2338 arg1)
canPlaceAt(WorldView world, BlockPos pos)
public BlockPos
getPostProcessPos(BlockGetter level, BlockPos pos)
getPostProcessPos(BlockGetter level, BlockPos pos)
method_1_3009(class_1922 arg0, class_2338 arg1)
getPostProcessPos(BlockView world, BlockPos pos)
public NamedScreenHandlerFactory
getMenuProvider(Level level, BlockPos pos)
getMenuProvider(Level level, BlockPos pos)
method_26196(class_1937 arg0, class_2338 arg1)
createScreenHandlerFactory(World world, BlockPos pos)
public boolean
is(TagKey<Block> tag, Predicate<BlockBehaviour$BlockStateBase> predicate)
is(TagKey<Block> tag, Predicate<BlockBehaviour$BlockStateBase> predicate)
method_27851(class_6862<class_2248> arg0, Predicate<class_4970$class_4971> arg1)
isIn(TagKey<Block> tag, Predicate<AbstractBlock$AbstractBlockState> predicate)
public boolean
hasBlockEntity()
hasBlockEntity()
method_31709()
hasBlockEntity()
public boolean
shouldChangedStateKeepBlockEntity(BlockState oldState)
shouldChangedStateKeepBlockEntity(BlockState oldState)
method_72668(class_2680 arg0)
keepBlockEntityWhenReplacedWith(BlockState state)
public <T extends BlockEntity> BlockEntityTicker<T>
getTicker(Level level, BlockEntityType<T> type)
getTicker(Level level, BlockEntityType<T> type)
method_31708(class_1937 arg0, class_2591<T> arg1)
getBlockEntityTicker(World world, BlockEntityType<T> blockEntityType)
public FluidState
getFluidState()
getFluidState()
method_26227()
getFluidState()
public boolean
isRandomlyTicking()
isRandomlyTicking()
method_26229()
hasRandomTicks()
public long
getSeed(BlockPos pos)
getSeed(BlockPos pos)
method_26190(class_2338 arg0)
getRenderingSeed(BlockPos pos)
public BlockSoundGroup
getSoundType()
getSoundType()
method_26231()
getSoundGroup()
public void
onProjectileHit(Level level, BlockState state, BlockHitResult blockHit, Projectile entity)
onProjectileHit(Level level, BlockState state, BlockHitResult blockHit, Projectile entity)
method_26175(class_1937 arg0, class_2680 arg1, class_3965 arg2, class_1676 arg3)
onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)
public boolean
isFaceSturdy(BlockGetter level, BlockPos pos, Direction direction)
isFaceSturdy(BlockGetter level, BlockPos pos, Direction direction)
method_26206(class_1922 arg0, class_2338 arg1, class_2350 arg2)
isSideSolidFullSquare(BlockView world, BlockPos pos, Direction direction)
public boolean
isFaceSturdy(BlockGetter level, BlockPos pos, Direction direction, SupportType supportType)
isFaceSturdy(BlockGetter level, BlockPos pos, Direction direction, SupportType supportType)
method_30368(class_1922 arg0, class_2338 arg1, class_2350 arg2, class_5431 arg3)
isSideSolid(BlockView world, BlockPos pos, Direction direction, SideShapeType shapeType)
public boolean
isCollisionShapeFullBlock(BlockGetter level, BlockPos pos)
isCollisionShapeFullBlock(BlockGetter level, BlockPos pos)
method_26234(class_1922 arg0, class_2338 arg1)
isFullCube(BlockView world, BlockPos pos)
public ItemStack
getCloneItemStack(LevelReader level, BlockPos pos, boolean includeData)
getCloneItemStack(LevelReader level, BlockPos pos, boolean includeData)
method_65171(class_4538 arg0, class_2338 arg1, boolean arg2)
getPickStack(WorldView world, BlockPos pos, boolean includeData)
protected abstract BlockState
asState()
asState()
method_26233()
asBlockState()
public boolean
requiresCorrectToolForDrops()
requiresCorrectToolForDrops()
method_29291()
isToolRequired()
public boolean
shouldSpawnTerrainParticles()
shouldSpawnTerrainParticles()
method_45475()
hasBlockBreakParticles()
public BlockState
withPropertiesOf(BlockState source)
withPropertiesOf(BlockState source)
method_1_7488(class_2680 arg0)
withPropertiesFrom(BlockState source)
public static <T extends Comparable<T>> BlockState
copyProperty(BlockState from, BlockState to, Property<T> property)
copyProperty(BlockState from, BlockState to, Property<T> property)
method_1_7487(class_2680 arg0, class_2680 arg1, class_2769<T> arg2)
copyPropertyToState(BlockState source, BlockState dest, Property<T> property)
public NoteBlockInstrument
instrument()
instrument()
method_51364()
getInstrument()