fixed Optionals to obide by the new CrT update

This commit is contained in:
Jared 2018-03-05 21:34:48 +02:00
parent b11d3ea95e
commit e7832b9733
7 changed files with 9 additions and 8 deletions

View file

@ -63,7 +63,7 @@ repositories {
} }
dependencies { dependencies {
deobfCompile "CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.1.0.+" deobfCompile "CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.1.5.+"
deobfCompile "mezz.jei:jei_1.12.2:4.8.5.+" deobfCompile "mezz.jei:jei_1.12.2:4.8.5.+"
deobfCompile "com.blamejared:MTLib:3.0.2.4" deobfCompile "com.blamejared:MTLib:3.0.2.4"
deobfCompile "com.azanor.baubles:Baubles:1.12-1.5.2" deobfCompile "com.azanor.baubles:Baubles:1.12-1.5.2"

View file

@ -24,7 +24,7 @@ public class Cauldron {
@ZenMethod @ZenMethod
@Deprecated @Deprecated
public static void add(IItemStack output, @Optional IItemStack secondaryOutput, @NotNull IIngredient[] inputs) { public static void add(IItemStack output, IItemStack secondaryOutput, @NotNull IIngredient[] inputs) {
add(output, inputs, secondaryOutput); add(output, inputs, secondaryOutput);
} }
@ -35,7 +35,7 @@ public class Cauldron {
@ZenMethod @ZenMethod
@Deprecated @Deprecated
public static void remove(IItemStack output, @Optional IItemStack secondary, IIngredient[] inputs) { public static void remove(IItemStack output, IItemStack secondary, IIngredient[] inputs) {
remove(output, inputs, secondary); remove(output, inputs, secondary);
} }

View file

@ -24,7 +24,7 @@ public class Crucible {
@Deprecated @Deprecated
@ZenMethod @ZenMethod
public static void add(IItemStack output, @Optional IItemStack secondaryOutput, @NotNull IIngredient[] inputs) { public static void add(IItemStack output, IItemStack secondaryOutput, @NotNull IIngredient[] inputs) {
add(output, inputs, secondaryOutput); add(output, inputs, secondaryOutput);
} }

View file

@ -24,7 +24,7 @@ public class Mill {
@ZenMethod @ZenMethod
@Deprecated @Deprecated
public static void add(IItemStack output, @Optional IItemStack secondaryOutput, @NotNull IIngredient[] inputs) { public static void add(IItemStack output, IItemStack secondaryOutput, @NotNull IIngredient[] inputs) {
add(output, inputs, secondaryOutput); add(output, inputs, secondaryOutput);
} }

View file

@ -25,7 +25,7 @@ public class StokedCauldron {
@ZenMethod @ZenMethod
@Deprecated @Deprecated
public static void add(IItemStack output, @Optional IItemStack secondaryOutput, @NotNull IIngredient[] inputs) { public static void add(IItemStack output, IItemStack secondaryOutput, @NotNull IIngredient[] inputs) {
add(output, inputs, secondaryOutput); add(output, inputs, secondaryOutput);
} }

View file

@ -24,7 +24,7 @@ public class StokedCrucible {
@ZenMethod @ZenMethod
@Deprecated @Deprecated
public static void add(IItemStack output, @Optional IItemStack secondaryOutput, @NotNull IIngredient[] inputs) { public static void add(IItemStack output, IItemStack secondaryOutput, @NotNull IIngredient[] inputs) {
add(output, inputs, secondaryOutput); add(output, inputs, secondaryOutput);
} }
@ -40,7 +40,7 @@ public class StokedCrucible {
@ZenMethod @ZenMethod
@Deprecated @Deprecated
public static void remove(IItemStack output, @Optional IItemStack secondary, @NotNull IIngredient[] inputs) { public static void remove(IItemStack output, IItemStack secondary, @NotNull IIngredient[] inputs) {
remove(output, inputs, secondary); remove(output, inputs, secondary);
} }
} }

View file

@ -13,6 +13,7 @@ import crafttweaker.api.item.IItemStack;
import net.minecraft.block.Block; import net.minecraft.block.Block;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import stanhebben.zenscript.annotations.*; import stanhebben.zenscript.annotations.*;
import stanhebben.zenscript.compiler.ITypeRegistry;
import java.util.*; import java.util.*;