Interface ItemHelpers1_18_2
- All Superinterfaces:
mods.thecomputerizer.theimpossiblelibrary.api.registry.item.WithItemProperties
- All Known Implementing Classes:
TILBasicItem1_18_2,TILCustomTool1_18_2,TILDiscItem1_18_2,TILItemAxe1_18_2,TILItemBlock1_18_2,TILItemHoe1_18_2,TILItemPickaxe1_18_2,TILItemShovel1_18_2,TILItemSword1_18_2
public interface ItemHelpers1_18_2
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)
-