summaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/funnyteleporters/ColouredChestBlockEntity.java
diff options
context:
space:
mode:
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);
+ }
+}