net.minecraft.world.level.block

public class CopperChestBlock

extends ChestBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dwl
net.minecraft.world.level.block.CopperChestBlock
net.minecraft.class_11582
net.minecraft.block.CopperChestBlock
net.minecraft.src.C_411091_
net.minecraft.world.level.block.CopperChestBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CopperChestBlock>
g
CODEC
field_61405
CODEC
f_413347_
private static final Map<Block, Supplier<Block>>
h
COPPER_TO_COPPER_CHEST_MAPPING
field_61406
FROM_COPPER_BLOCK
f_413919_
private final WeatheringCopper$WeatherState
i
weatherState
field_61407
oxidationLevel
f_413203_

Constructor summary

ModifierConstructor
public (WeatheringCopper$WeatherState oxidationLevel, SoundEvent openSound, SoundEvent closeSound, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends CopperChestBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
public boolean
i(ejm arg0)
chestCanConnectTo(BlockState arg0)
method_72582(class_2680 arg0)
canMergeWith(BlockState arg0)
m_417702_(C_2064_ arg0)
public BlockState
a(dlk arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
private static BlockState
c(ejm arg0, drq arg1, ja arg2)
getLeastOxidizedChestOfConnectedBlocks(BlockState arg0, Level arg1, BlockPos arg2)
method_74028(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getNewState(BlockState state, World world, BlockPos pos)
m_419985_(C_2064_ p_428941_, C_1596_ p_424225_, C_4675_ p_423567_)
protected BlockState
a(ejm arg0, drt arg1, dsf arg2, ja arg3, jg arg4, ja arg5, ejm arg6, bfq arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
m_7417_(C_2064_ p_427755_, C_1599_ p_430516_, C_346056_ p_422490_, C_4675_ p_429642_, C_4687_ p_423254_, C_4675_ p_422810_, C_2064_ p_424126_, C_212974_ arg7)
private static Optional<BlockState>
a(dwl arg0, ejm arg1)
unwaxBlock(CopperChestBlock arg0, BlockState arg1)
method_72598(class_11582 arg0, class_2680 arg1)
getUnwaxed(CopperChestBlock block, BlockState state)
m_417151_(C_411091_ p_428303_, C_2064_ p_426608_)
public WeatheringCopper$WeatherState
t()
getState()
method_72601()
getOxidationLevel()
m_418516_()
public static BlockState
a(duv arg0, jg arg1, drq arg2, ja arg3)
getFromCopperBlock(Block arg0, Direction arg1, Level arg2, BlockPos arg3)
method_72597(class_2248 arg0, class_2350 arg1, class_1937 arg2, class_2338 arg3)
fromCopperBlock(Block block, Direction facing, World world, BlockPos pos)
m_417507_(C_1706_ p_430017_, C_4687_ p_427385_, C_1596_ p_422943_, C_4675_ p_425003_)
public boolean
u()
isWaxed()
method_72602()
isWaxed()
m_415930_()
public boolean
o(ejm arg0)
shouldChangedStateKeepBlockEntity(BlockState arg0)
method_72600(class_2680 arg0)
keepBlockEntityWhenReplacedWith(BlockState arg0)
m_6782_(C_2064_ arg0)