net.minecraft.world.item.enchantment

public record Repairable

deh
net.minecraft.world.item.enchantment.Repairable
net.minecraft.class_9890
net.minecraft.component.type.RepairableComponent
net.minecraft.world.item.enchantment.Repairable

Field summary

Modifier and TypeField
private final HolderSet<Item>
c
items
comp_2939
items
public static final com.mojang.serialization.Codec<Repairable>
a
CODEC
field_52609
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, Repairable>
b
STREAM_CODEC
field_52610
PACKET_CODEC

Constructor summary

ModifierConstructor
public (HolderSet<Item> arg0)

Method summary

Modifier and TypeMethod
public boolean
a(cxp arg0)
isValidRepairItem(ItemStack arg0)
method_61713(class_1799 arg0)
matches(ItemStack stack)
public HolderSet<Item>
a()
items()
comp_2939()
items()