net.minecraft.world.level.block

public class CopperChestBlock

extends ChestBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dzy
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(emz arg0)
chestCanConnectTo(BlockState arg0)
method_72582(class_2680 arg0)
canMergeWith(BlockState arg0)
public BlockState
a(dom arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
private static BlockState
c(emz arg0, dvg arg1, is 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)
protected BlockState
a(emz arg0, dvj arg1, dvv arg2, is arg3, iz arg4, is arg5, emz arg6, bgq 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 static Optional<BlockState>
a(dzy arg0, emz arg1)
unwaxBlock(CopperChestBlock arg0, BlockState arg1)
method_72598(class_11582 arg0, class_2680 arg1)
getUnwaxed(CopperChestBlock block, BlockState state)
public WeatheringCopper$WeatherState
t()
getState()
method_72601()
getOxidationLevel()
public static BlockState
a(dyi arg0, iz arg1, dvg arg2, is 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)
public boolean
u()
isWaxed()
method_72602()
isWaxed()
public boolean
o(emz arg0)
shouldChangedStateKeepBlockEntity(BlockState arg0)
method_72600(class_2680 arg0)
keepBlockEntityWhenReplacedWith(BlockState arg0)