Interface RecyclingOutputsModifier
public interface RecyclingOutputsModifier
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RecyclingOutputsModifierstatic final RecyclingOutputsModifierMinimize the use of random chance by splitting fractions of outputs into smaller Items.static final RecyclingOutputsModifier -
Method Summary
Modifier and TypeMethodDescriptionstatic intcompare(RecyclingOutputsModifier first, RecyclingOutputsModifier second) intvoidmodify(net.minecraft.world.level.Level level, net.minecraft.world.item.ItemStack input, RecyclingOutputs outputs)
-
Field Details
-
DURABILITY
-
CONTAMINANTS
-
DECOMPRESSION
Minimize the use of random chance by splitting fractions of outputs into smaller Items. For example, 7.5 Iron Ingots (7 Ingots and a 50% chance of another) becomes 7 Ingots, 4 Nuggets and a 50% chance of another Nugget.
-
-
Method Details
-
modify
void modify(net.minecraft.world.level.Level level, net.minecraft.world.item.ItemStack input, RecyclingOutputs outputs) - Parameters:
input- Will have count1outputs-
-
getPriority
int getPriority() -
compare
-