diff options
author | Linnea Gräf <nea@nea.moe> | 2024-11-20 17:56:18 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-11-20 17:56:18 +0100 |
commit | 241682c95b56f47cbd09f79dd77c6ad8ee4489c5 (patch) | |
tree | 8f00327c842bd8ab01280a8ad6ef0724b1f12f01 /src/main/java/moe/nea/funnyteleporters/ColouredChestBlockEntity.java | |
download | funny-teleporters-241682c95b56f47cbd09f79dd77c6ad8ee4489c5.tar.gz funny-teleporters-241682c95b56f47cbd09f79dd77c6ad8ee4489c5.tar.bz2 funny-teleporters-241682c95b56f47cbd09f79dd77c6ad8ee4489c5.zip |
Init
Diffstat (limited to 'src/main/java/moe/nea/funnyteleporters/ColouredChestBlockEntity.java')
-rw-r--r-- | src/main/java/moe/nea/funnyteleporters/ColouredChestBlockEntity.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/moe/nea/funnyteleporters/ColouredChestBlockEntity.java b/src/main/java/moe/nea/funnyteleporters/ColouredChestBlockEntity.java new file mode 100644 index 0000000..e26aea1 --- /dev/null +++ b/src/main/java/moe/nea/funnyteleporters/ColouredChestBlockEntity.java @@ -0,0 +1,17 @@ +package moe.nea.funnyteleporters; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockState; +import net.minecraft.block.entity.BlockEntityType; +import net.minecraft.block.entity.ChestBlockEntity; +import net.minecraft.util.math.BlockPos; + +public class ColouredChestBlockEntity extends ChestBlockEntity { + public ColouredChestBlockEntity(BlockPos blockPos, BlockState blockState) { + this(FunnyRegistry.COLOURED_CHEST_ENTITY, blockPos, blockState); + } + + protected ColouredChestBlockEntity(BlockEntityType<?> blockEntityType, BlockPos blockPos, BlockState blockState) { + super(blockEntityType, blockPos, blockState); + } +} |