net.minecraft.world.level.block

public class CopperChestBlock

extends ChestBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dsj
net.minecraft.world.level.block.CopperChestBlock
net.minecraft.class_11582
net.minecraft.block.CopperChestBlock

Field summary

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

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()
public boolean
i(efg arg0)
chestCanConnectTo(BlockState arg0)
method_72582(class_2680 arg0)
canMergeWith(BlockState arg0)
public BlockState
a(dhi arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
a(efg arg0, dnr arg1, dod arg2, jb arg3, jh arg4, jb arg5, efg arg6, bcr 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)
private Optional<BlockState>
a(dsj arg0, efg arg1)
unwaxBlock(CopperChestBlock arg0, BlockState arg1)
method_72598(class_11582 arg0, class_2680 arg1)
getWaxed(CopperChestBlock block, BlockState state)
public WeatheringCopper$WeatherState
t()
getState()
method_72601()
getOxidationLevel()
public static Block
a(dqt arg0)
getFromCopperBlock(Block arg0)
method_72597(class_2248 arg0)
fromCopperBlock(Block block)
public boolean
u()
isWaxed()
method_72602()
isWaxed()
public boolean
o(efg arg0)
shouldChangedStateKeepBlockEntity(BlockState arg0)
method_72600(class_2680 arg0)
keepBlockEntityWhenReplacedWith(BlockState arg0)