From 1a72fe953b12ac3ab32f7b15f0e2797cd0110e8c Mon Sep 17 00:00:00 2001 From: itsmeow Date: Tue, 19 Apr 2022 05:03:30 -0500 Subject: [PATCH] Fix HoF item previews --- .../blockentity/HandOfFateBlockEntity.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/common/src/main/java/dev/itsmeow/whisperwoods/blockentity/HandOfFateBlockEntity.java b/common/src/main/java/dev/itsmeow/whisperwoods/blockentity/HandOfFateBlockEntity.java index 2b6baaa..d0f6a7b 100644 --- a/common/src/main/java/dev/itsmeow/whisperwoods/blockentity/HandOfFateBlockEntity.java +++ b/common/src/main/java/dev/itsmeow/whisperwoods/blockentity/HandOfFateBlockEntity.java @@ -25,7 +25,6 @@ import net.minecraft.nbt.CompoundTag; import net.minecraft.nbt.ListTag; import net.minecraft.nbt.StringTag; -import net.minecraft.network.protocol.game.ClientboundBlockEntityDataPacket; import net.minecraft.resources.ResourceLocation; import net.minecraft.server.level.ServerChunkCache; import net.minecraft.server.level.ServerLevel; @@ -247,20 +246,6 @@ public CompoundTag save(CompoundTag compound) { return c; } - @Override - public ClientboundBlockEntityDataPacket getUpdatePacket() { - CompoundTag tag = new CompoundTag(); - this.save(tag); - return new ClientboundBlockEntityDataPacket(this.worldPosition, 1, tag); - } - - @Override - public CompoundTag getUpdateTag() { - CompoundTag tag = new CompoundTag(); - this.save(tag); - return tag; - } - @Override public void loadClientData(BlockState pos, CompoundTag tag) { this.load(tag);