net.minecraft.world.item.enchantment

public record Repairable

ddi
net.minecraft.world.item.enchantment.Repairable
net.minecraft.class_9890
net.minecraft.unmapped.C_dbotabxl
net.minecraft.component.type.RepairableComponent
net.minecraft.component.type.RepairableComponent
net.minecraft.src.C_346105_
net.minecraft.world.item.enchantment.Repairable

Field summary

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

Constructor summary

ModifierConstructor
public (HolderSet<Item> materials)

Method summary

Modifier and TypeMethod
public boolean
a(cwq arg0)
isValidRepairItem(ItemStack arg0)
method_61713(class_1799 arg0)
m_lqpwzann(C_sddaxwyk arg0)
matches(ItemStack stack)
isMaterial(ItemStack stack)
m_353894_(C_1391_ arg0)
public HolderSet<Item>
a()
items()
comp_2939()
m_nyeeksyk()
items()
materials()
f_346245_()