--- a/net/minecraft/world/level/block/entity/DecoratedPotBlockEntity.java
+++ b/net/minecraft/world/level/block/entity/DecoratedPotBlockEntity.java
@@ -23,13 +_,55 @@
 import net.minecraft.world.ticks.ContainerSingleItem;
 
 public class DecoratedPotBlockEntity extends BlockEntity implements RandomizableContainer, ContainerSingleItem.BlockContainerSingleItem {
+
+    // CraftBukkit start - add fields and methods
+    public List<org.bukkit.entity.HumanEntity> transaction = new java.util.ArrayList<>();
+    private int maxStack = MAX_STACK;
+
+    @Override
+    public List<ItemStack> getContents() {
+        return java.util.List.of(this.item);
+    }
+
+    @Override
+    public void onOpen(org.bukkit.craftbukkit.entity.CraftHumanEntity player) {
+        this.transaction.add(player);
+    }
+
+    @Override
+    public void onClose(org.bukkit.craftbukkit.entity.CraftHumanEntity player) {
+        this.transaction.remove(player);
+    }
+
+    @Override
+    public java.util.List<org.bukkit.entity.HumanEntity> getViewers() {
+        return this.transaction;
+    }
+
+    @Override
+    public int getMaxStackSize() {
+        return this.maxStack;
+    }
+
+    @Override
+    public void setMaxStackSize(int size) {
+        this.maxStack = size;
+    }
+
+    @Override
+    public @Nullable org.bukkit.Location getLocation() {
+        if (this.level == null) return null;
+        return org.bukkit.craftbukkit.util.CraftLocation.toBukkit(this.worldPosition, this.level);
+    }
+    // CraftBukkit end
+
     public static final String TAG_SHERDS = "sherds";
     public static final String TAG_ITEM = "item";
     public static final int EVENT_POT_WOBBLES = 1;
     public long wobbleStartedAtTick;
     @Nullable
     public DecoratedPotBlockEntity.WobbleStyle lastWobbleStyle;
-    private PotDecorations decorations;
+    public PotDecorations decorations;
     private ItemStack item = ItemStack.EMPTY;
     @Nullable
     protected ResourceKey<LootTable> lootTable;
@@ -47,8 +_,8 @@
             output.store("sherds", PotDecorations.CODEC, this.decorations);
         }
 
-        if (!this.trySaveLootTable(output) && !this.item.isEmpty()) {
-            output.store("item", ItemStack.CODEC, this.item);
+        if (!this.trySaveLootTable(output) && !this.item.isEmpty()) { // Paper - diff on change - hide unnecessary update data
+            output.store("item", ItemStack.CODEC, this.item); // Paper - diff on change - hide unnecessary update data
         }
     }
 
@@ -70,7 +_,14 @@
 
     @Override
     public CompoundTag getUpdateTag(HolderLookup.Provider registries) {
-        return this.saveCustomOnly(registries);
+        // Paper start - hide unnecessary update data
+        // Like chests, decorated pots should not allow clients to inspect their contents without breaking them.
+        final CompoundTag compoundTag = new CompoundTag();
+        if (!this.decorations.equals(PotDecorations.EMPTY)) {
+            compoundTag.store("sherds", PotDecorations.CODEC, this.decorations);
+        }
+        return compoundTag;
+        // Paper end - hide unnecessary update data
     }
 
     public Direction getDirection() {
