tutorial:adding_to_loot_tables
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:adding_to_loot_tables [2019/08/01 16:16] – fixed typo juuz | tutorial:adding_to_loot_tables [2019/08/12 23:06] – fixed parenthesis yanis48 | ||
---|---|---|---|
Line 13: | Line 13: | ||
<code java> | <code java> | ||
LootTableLoadingCallback.EVENT.register((resourceManager, | LootTableLoadingCallback.EVENT.register((resourceManager, | ||
- | if (" | + | if (" |
// Our code will go here | // Our code will go here | ||
} | } | ||
Line 27: | Line 27: | ||
<code java> | <code java> | ||
LootTableLoadingCallback.EVENT.register((resourceManager, | LootTableLoadingCallback.EVENT.register((resourceManager, | ||
- | if (" | + | if (" |
FabricLootPoolBuilder poolBuilder = FabricLootPoolBuilder.builder() | FabricLootPoolBuilder poolBuilder = FabricLootPoolBuilder.builder() | ||
.withRolls(ConstantLootTableRange.create(1)); | .withRolls(ConstantLootTableRange.create(1)); | ||
Line 39: | Line 39: | ||
<code java> | <code java> | ||
LootTableLoadingCallback.EVENT.register((resourceManager, | LootTableLoadingCallback.EVENT.register((resourceManager, | ||
- | if (" | + | if (" |
FabricLootPoolBuilder poolBuilder = FabricLootPoolBuilder.builder() | FabricLootPoolBuilder poolBuilder = FabricLootPoolBuilder.builder() | ||
.withRolls(ConstantLootTableRange.create(1)) | .withRolls(ConstantLootTableRange.create(1)) |
tutorial/adding_to_loot_tables.txt · Last modified: 2024/02/05 16:08 by mschae23