--- a/net/minecraft/world/level/levelgen/structure/structures/EndCityPieces.java
+++ b/net/minecraft/world/level/levelgen/structure/structures/EndCityPieces.java
@@ -285,7 +285,12 @@
                 BlockPosition blockposition1 = blockposition.below();
 
                 if (structureboundingbox.isInside(blockposition1)) {
+                    // CraftBukkit start - ensure block transformation
+                    /*
                     RandomizableContainer.setBlockEntityLootTable(worldaccess, randomsource, blockposition1, LootTables.END_CITY_TREASURE);
+                    */
+                    setCraftLootTable(worldaccess, blockposition1, randomsource, LootTables.END_CITY_TREASURE);
+                    // CraftBukkit end
                 }
             } else if (structureboundingbox.isInside(blockposition) && World.isInSpawnableBounds(blockposition)) {
                 if (s.startsWith("Sentry")) {
