use of betterwithaddons.item.ItemMaterial in project BetterWithAddons by DaedalusGame.
the class Condensed method setContainer.
@ZenMethod
public static void setContainer(@NotNull IItemStack condensed, @NotNull IItemStack input) {
ItemStack item = CraftTweakerMC.getItemStack(condensed);
ItemStack container = CraftTweakerMC.getItemStack(input);
if (item.getItem() instanceof ItemMaterial)
CraftTweaker.LATE_ACTIONS.add(new SetContainer((ItemMaterial) item.getItem(), container));
}
Aggregations