Class RecyclingOutput
java.lang.Object
com.petrolpark.core.recipe.recycling.RecyclingOutput
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RecyclingOutput> protected doubleprotected net.minecraft.world.item.ItemStackCountis ignored.static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, RecyclingOutput> -
Constructor Summary
ConstructorsConstructorDescriptionRecyclingOutput(BigItemStack bigStack) RecyclingOutput(net.minecraft.world.item.ItemStack stack) RecyclingOutput(net.minecraft.world.item.ItemStack stack, double expectedCount) -
Method Summary
-
Field Details
-
CODEC
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,RecyclingOutput> STREAM_CODEC -
item
protected net.minecraft.world.item.ItemStack itemCountis ignored. -
expectedCount
protected double expectedCount
-
-
Constructor Details
-
RecyclingOutput
public RecyclingOutput(net.minecraft.world.item.ItemStack stack) -
RecyclingOutput
public RecyclingOutput(net.minecraft.world.item.ItemStack stack, double expectedCount) -
RecyclingOutput
-
-
Method Details
-
getItem
protected net.minecraft.world.item.ItemStack getItem() -
getExpectedCount
protected double getExpectedCount() -
getExpectedRemainder
public double getExpectedRemainder() -
multiply
-
copy
-
rollStack
-
compareTo
-