Interface ItemHelpers1_20
- All Superinterfaces:
mods.thecomputerizer.theimpossiblelibrary.api.registry.item.WithItemProperties
- All Known Implementing Classes:
TILBasicItem1_20,TILCustomTool1_20,TILDiscItem1_20,TILItemAxe1_20,TILItemBlock1_20,TILItemHoe1_20,TILItemPickaxe1_20,TILItemShovel1_20,TILItemSword1_20
public interface ItemHelpers1_20
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)
-