diff options
Diffstat (limited to 'src/main/java/lv/enes/mc/eris_alchemy/block/AlchemicalChestBlock.java')
| -rw-r--r-- | src/main/java/lv/enes/mc/eris_alchemy/block/AlchemicalChestBlock.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/lv/enes/mc/eris_alchemy/block/AlchemicalChestBlock.java b/src/main/java/lv/enes/mc/eris_alchemy/block/AlchemicalChestBlock.java index d50ee77..eb7cb6e 100644 --- a/src/main/java/lv/enes/mc/eris_alchemy/block/AlchemicalChestBlock.java +++ b/src/main/java/lv/enes/mc/eris_alchemy/block/AlchemicalChestBlock.java | |||
| @@ -3,15 +3,15 @@ package lv.enes.mc.eris_alchemy.block; | |||
| 3 | import jakarta.annotation.Nonnull; | 3 | import jakarta.annotation.Nonnull; |
| 4 | import jakarta.annotation.Nullable; | 4 | import jakarta.annotation.Nullable; |
| 5 | import lv.enes.mc.eris_alchemy.ErisAlchemyRegistry; | 5 | import lv.enes.mc.eris_alchemy.ErisAlchemyRegistry; |
| 6 | import lv.enes.mc.eris_alchemy.block.entity.AlchemicalChestBlockEntity; | 6 | import lv.enes.mc.eris_alchemy.block.entity.AlchemicalChestEntity; |
| 7 | import net.minecraft.core.BlockPos; | 7 | import net.minecraft.core.BlockPos; |
| 8 | import net.minecraft.network.chat.Component; | 8 | import net.minecraft.network.chat.Component; |
| 9 | import net.minecraft.world.level.block.entity.BlockEntity; | 9 | import net.minecraft.world.level.block.entity.BlockEntity; |
| 10 | import net.minecraft.world.level.block.state.BlockState; | 10 | import net.minecraft.world.level.block.state.BlockState; |
| 11 | 11 | ||
| 12 | public class AlchemicalChestBlock extends ChestLikeBlock<AlchemicalChestBlockEntity> | 12 | public class AlchemicalChestBlock extends ChestLikeBlock<AlchemicalChestEntity> { |
| 13 | { | 13 | public static final Component CONTAINER_TITLE |
| 14 | public static final Component CONTAINER_TITLE = Component.translatable("container.eris_alchemy.alchemical_chest"); | 14 | = Component.translatable("container.eris_alchemy.alchemical_chest"); |
| 15 | 15 | ||
| 16 | public AlchemicalChestBlock(Properties properties) { | 16 | public AlchemicalChestBlock(Properties properties) { |
| 17 | super(properties, () -> ErisAlchemyRegistry.BlockEntities.ALCHEMICAL_CHEST); | 17 | super(properties, () -> ErisAlchemyRegistry.BlockEntities.ALCHEMICAL_CHEST); |
| @@ -26,6 +26,6 @@ public class AlchemicalChestBlock extends ChestLikeBlock<AlchemicalChestBlockEnt | |||
| 26 | @Nullable | 26 | @Nullable |
| 27 | @Override | 27 | @Override |
| 28 | public BlockEntity newBlockEntity(BlockPos pos, BlockState state) { | 28 | public BlockEntity newBlockEntity(BlockPos pos, BlockState state) { |
| 29 | return new AlchemicalChestBlockEntity(pos, state); | 29 | return new AlchemicalChestEntity(pos, state); |
| 30 | } | 30 | } |
| 31 | } | 31 | } |