net.minecraft.component.type

public record UseRemainderComponent

net.minecraft.world.item.component.UseRemainder
net.minecraft.class_10131
net.minecraft.component.type.UseRemainderComponent

Field summary

Modifier and TypeField
private final SimpleItemStackView
convertInto
comp_3093
convertInto
public static final com.mojang.serialization.Codec<UseRemainderComponent>
CODEC
field_53801
CODEC
public static final PacketCodec<RegistryByteBuf, UseRemainderComponent>
STREAM_CODEC
field_53802
PACKET_CODEC

Constructor summary

ModifierConstructor
public (SimpleItemStackView convertInto)

Method summary

Modifier and TypeMethod
public ItemStack
convertIntoRemainder(ItemStack usedStack, int stackCountBeforeUsing, boolean hasInfiniteMaterials, UseRemainder$OnExtraCreatedRemainder onExtraCreatedRemainder)
method_62863(class_1799 arg0, int arg1, boolean arg2, class_10131$class_10259 arg3)
convert(ItemStack stack, int oldCount, boolean inCreative, UseRemainderComponent$StackInserter inserter)
public SimpleItemStackView
convertInto()
comp_3093()
convertInto()