Package dev.jaxydog.astral.mixin
Class ItemGroupMixin
java.lang.Object
dev.jaxydog.astral.mixin.ItemGroupMixin
- All Implemented Interfaces:
AstralItemGroup
Implements the
AstralItemGroup interface.- Since:
- 1.7.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.item.ItemStackastral$getIcon(float delta) Returns the item group's icon, computed using the provided delta.abstract net.minecraft.item.ItemStackgetIcon()Returns the item group's icon.
-
Constructor Details
-
ItemGroupMixin
public ItemGroupMixin()
-
-
Method Details
-
getIcon
public abstract net.minecraft.item.ItemStack getIcon()Returns the item group's icon.- Returns:
- The item group's icon.
- Since:
- 1.7.0
-
astral$getIcon
public net.minecraft.item.ItemStack astral$getIcon(float delta) Description copied from interface:AstralItemGroupReturns the item group's icon, computed using the provided delta.- Specified by:
astral$getIconin interfaceAstralItemGroup- Parameters:
delta- The time passed since the last update.- Returns:
- An item stack.
-