User Tools

Site Tools


tutorial:datagen_loot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
tutorial:datagen_loot [2023/06/05 17:30] – Add comments inside onInitializeDataGenerator to be consistent with other data generation tutorials on the wiki mcrafterzztutorial:datagen_loot [2023/06/05 17:45] mcrafterzz
Line 70: Line 70:
  
 private static class MyChestLootTables extends SimpleFabricLootTableProvider { private static class MyChestLootTables extends SimpleFabricLootTableProvider {
-    public MyChestLootGenerator(FabricDataGenerator dataGenerator) {+    public MyChestLootGenerator(FabricDataOutput dataGenerator) {
  super(dataGenerator, LootContextTypes.CHEST);  super(dataGenerator, LootContextTypes.CHEST);
     }     }
tutorial/datagen_loot.txt · Last modified: 2023/06/16 17:29 by slainlight