<commit_before>--- ../src_base/minecraft/net/minecraft/src/ContainerCreative.java	0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft/net/minecraft/src/ContainerCreative.java	0000-00-00 00:00:00.000000000 -0000
@@ -57,12 +57,21 @@
 
             this.itemList.add(new ItemStack(var2[var10], 1, var11));
         }
-
-        for (var10 = 256; var10 < Item.itemsList.length; ++var10)
+        
+        for (Block block : Block.blocksList)
+        {
+            if (block != null)
+            {
+                block.addCreativeItems((ArrayList)itemList);
+            }
+        }
+        
+        int x = 0;
+        for (Item item : Item.itemsList)
         {
-            if (Item.itemsList[var10] != null && Item.itemsList[var10].shiftedIndex != Item.potion.shiftedIndex && Item.itemsList[var10].shiftedIndex != Item.monsterPlacer.shiftedIndex)
+            if (item != null && x++ < 256)
             {
-                this.itemList.add(new ItemStack(Item.itemsList[var10]));
+                item.addCreativeItems((ArrayList)itemList);
             }
         }
 <commit_msg>Got my comparitor turned around<commit_after>--- ../src_base/minecraft/net/minecraft/src/ContainerCreative.java	0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft/net/minecraft/src/ContainerCreative.java	0000-00-00 00:00:00.000000000 -0000
@@ -57,12 +57,21 @@
 
             this.itemList.add(new ItemStack(var2[var10], 1, var11));
         }
-
-        for (var10 = 256; var10 < Item.itemsList.length; ++var10)
+        
+        for (Block block : Block.blocksList)
+        {
+            if (block != null)
+            {
+                block.addCreativeItems((ArrayList)itemList);
+            }
+        }
+        
+        int x = 0;
+        for (Item item : Item.itemsList)
         {
-            if (Item.itemsList[var10] != null && Item.itemsList[var10].shiftedIndex != Item.potion.shiftedIndex && Item.itemsList[var10].shiftedIndex != Item.monsterPlacer.shiftedIndex)
+            if (item != null && x++ >= 256)
             {
-                this.itemList.add(new ItemStack(Item.itemsList[var10]));
+                item.addCreativeItems((ArrayList)itemList);
             }
         }
 
{'fraction_non_alphanumeric': 0.15033860045146727, 'fraction_numerical': 0.08036117381489842, 'mean_word_length': 1.9350993377483443, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6988646', 'n_tokens_mistral': 838, 'n_tokens_neox': 709, 'n_words': 106}