/* * Decompiled with CFR 0.152. * * Could not load the following classes: * com.mojang.serialization.MapCodec */ package net.minecraft.world.level.block; import com.mojang.serialization.MapCodec; import java.util.function.Supplier; import net.minecraft.core.BlockPos; import net.minecraft.world.level.Level; import net.minecraft.world.level.block.BaseEntityBlock; import net.minecraft.world.level.block.DoubleBlockCombiner; import net.minecraft.world.level.block.entity.BlockEntity; import net.minecraft.world.level.block.entity.BlockEntityType; import net.minecraft.world.level.block.entity.ChestBlockEntity; import net.minecraft.world.level.block.state.BlockBehaviour; import net.minecraft.world.level.block.state.BlockState; public abstract class AbstractChestBlock extends BaseEntityBlock { protected final Supplier> blockEntityType; protected AbstractChestBlock(BlockBehaviour.Properties properties, Supplier> blockEntityType) { super(properties); this.blockEntityType = blockEntityType; } protected abstract MapCodec> codec(); public abstract DoubleBlockCombiner.NeighborCombineResult combine(BlockState var1, Level var2, BlockPos var3, boolean var4); }