Interface ItemHelpers1_19
- All Superinterfaces:
mods.thecomputerizer.theimpossiblelibrary.api.registry.item.WithItemProperties
- All Known Implementing Classes:
TILBasicItem1_19,TILCustomTool1_19,TILDiscItem1_19,TILItemAxe1_19,TILItemBlock1_19,TILItemHoe1_19,TILItemPickaxe1_19,TILItemShovel1_19,TILItemSword1_19
public interface ItemHelpers1_19
extends mods.thecomputerizer.theimpossiblelibrary.api.registry.item.WithItemProperties
-
Field Summary
Fields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.registry.item.WithItemProperties
VERSION -
Method Summary
Modifier and TypeMethodDescriptiondefault voiddefaultAppendHoverText(net.minecraft.world.item.ItemStack stack, @Nullable net.minecraft.world.level.Level level, List<net.minecraft.network.chat.Component> components) default @NotNull net.minecraft.world.InteractionResultdefaultUseOn(net.minecraft.world.item.context.UseOnContext ctx, Function<net.minecraft.world.item.context.UseOnContext, net.minecraft.world.InteractionResult> superUse) default mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>wrapStack(net.minecraft.world.item.ItemStack stack) default mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?>wrapWorld(net.minecraft.world.level.Level level) Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.registry.item.WithItemProperties
getProperties, getTooltipLines, getUseResult
-
Method Details
-
defaultAppendHoverText
default void defaultAppendHoverText(net.minecraft.world.item.ItemStack stack, @Nullable @Nullable net.minecraft.world.level.Level level, List<net.minecraft.network.chat.Component> components) -
defaultUseOn
@NotNull default @NotNull net.minecraft.world.InteractionResult defaultUseOn(net.minecraft.world.item.context.UseOnContext ctx, Function<net.minecraft.world.item.context.UseOnContext, net.minecraft.world.InteractionResult> superUse) -
wrapStack
default mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?> wrapStack(net.minecraft.world.item.ItemStack stack) -
wrapWorld
default mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> wrapWorld(net.minecraft.world.level.Level level)
-