Class AnvilContentChangeHandler
java.lang.Object
com.stereowalker.unionlib.insert.InsertHandler<AnvilContentChangeHandler.Ins>
com.stereowalker.unionlib.insert.handler.AnvilContentChangeHandler
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class InsertHandler
InsertHandler.Insert, InsertHandler.InsertWrapper<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinsert(net.minecraft.world.item.ItemStack left, net.minecraft.world.item.ItemStack right, String name, net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack output, Consumer<net.minecraft.world.item.ItemStack> outputC, boolean takeOnZero, Consumer<Boolean> takeOnZeroC, long cost, Consumer<Long> costC, int materialCost, Consumer<Integer> materialCostC, Runnable cancel) Methods inherited from class InsertHandler
hasInserts, loopThrough
-
Constructor Details
-
AnvilContentChangeHandler
public AnvilContentChangeHandler()
-
-
Method Details
-
insert
public void insert(net.minecraft.world.item.ItemStack left, net.minecraft.world.item.ItemStack right, String name, net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack output, Consumer<net.minecraft.world.item.ItemStack> outputC, boolean takeOnZero, Consumer<Boolean> takeOnZeroC, long cost, Consumer<Long> costC, int materialCost, Consumer<Integer> materialCostC, Runnable cancel)
-