Class ItemStackMixin

java.lang.Object
de.cech12.ceramicshears.mixin.ItemStackMixin

public class ItemStackMixin extends Object
Ceramic shears have no default damage component (the durability comes from the config, see DataComponentHolderMixin), so setting the damage to 0 (anvil, mending) would store a damage component that new shears do not have. Like vanilla shears, fully repaired ceramic shears must equal new ones.
  • Constructor Details

    • ItemStackMixin

      public ItemStackMixin()