summaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/funnyteleporters/ColouredChestBlockEntity.java
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-20 17:56:18 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-20 17:56:18 +0100
commit241682c95b56f47cbd09f79dd77c6ad8ee4489c5 (patch)
tree8f00327c842bd8ab01280a8ad6ef0724b1f12f01 /src/main/java/moe/nea/funnyteleporters/ColouredChestBlockEntity.java
downloadfunny-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.java17
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);
+ }
+}