misc fixes

This commit is contained in:
Vincent Lee committed 2019-07-17 20:05:36 -07:00
1 parent 0315863e6a
commit e9c669034e
3 files changed
+3 -2

No files matched your search

@@ -36,7 +36,7 @@ public final class LootHandler {
private static LootPool getInjectPool(String entryName) {
return LootPool.builder()
.addEntry(getInjectEntry(entryName, 1))
// todo 1.14 can't set bonusRolls to [0, 1]
.bonusRolls(0, 1)
.build();
}
@@ -43,5 +43,6 @@ public class ReloadListener implements IResourceManagerReloadListener {
BotaniaAPI.brewRecipes = ImmutableMap.copyOf(brew);
BotaniaAPI.elvenTradeRecipes = ImmutableMap.copyOf(elvenTrade);
BotaniaAPI.petalRecipes = ImmutableMap.copyOf(apothecary);
BotaniaAPI.runeAltarRecipes = ImmutableMap.copyOf(runeAltar);
}
}
@@ -41,7 +41,7 @@ public class LensDyeingRecipe extends SpecialRecipe {
Ingredient.fromTag(Tags.Items.DYES_PURPLE), Ingredient.fromTag(Tags.Items.DYES_BLUE),
Ingredient.fromTag(Tags.Items.DYES_BROWN), Ingredient.fromTag(Tags.Items.DYES_RED),
Ingredient.fromTag(Tags.Items.DYES_GREEN), Ingredient.fromTag(Tags.Items.DYES_BLACK),
Ingredient.fromItems(ModItems.manaPearl) // todo 1.13 tag for mana pearl?
Ingredient.fromItems(ModItems.manaPearl)
);
public LensDyeingRecipe(ResourceLocation id) {