Class ItemStackMixin

java.lang.Object
net.ntrdeal.realapi.mixin.component.ItemStackMixin
All Implemented Interfaces:
net.minecraft.core.component.DataComponentGetter, net.minecraft.core.component.DataComponentHolder, net.minecraft.core.TypedInstance<net.minecraft.world.item.Item>, net.minecraft.world.item.ItemInstance, RealMixin<net.minecraft.world.item.ItemStack>, ClassToTypeHolder

public abstract class ItemStackMixin extends Object implements net.minecraft.core.component.DataComponentHolder, net.minecraft.world.item.ItemInstance, ClassToTypeHolder, RealMixin<net.minecraft.world.item.ItemStack>
  • Field Summary

    Fields inherited from interface net.minecraft.world.item.ItemInstance

    FIELD_COMPONENTS, FIELD_COUNT, FIELD_ID
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract boolean
     
    <T> void
    runAllOfClass(Class<? extends T> clazz, Consumer<T> consumer)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.core.component.DataComponentGetter

    getTyped

    Methods inherited from interface net.minecraft.core.component.DataComponentHolder

    get, getAllOfType, getComponents, getOrDefault, has

    Methods inherited from interface net.minecraft.world.item.ItemInstance

    count, getMaxStackSize

    Methods inherited from interface RealMixin

    getThis

    Methods inherited from interface net.minecraft.core.TypedInstance

    is, is, is, is, is, tags, typeHolder
  • Constructor Details

    • ItemStackMixin

      public ItemStackMixin()
  • Method Details