Interface GridInsertionHint

All Known Implementing Classes:
FluidGridInsertionHint, ItemGridInsertionHint, SingleItemGridInsertionHint
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@API(status=STABLE, since="2.0.0-milestone.2.12") @FunctionalInterface public interface GridInsertionHint
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent>
    getHint(net.minecraft.world.item.ItemStack carried)
     
  • Method Details

    • getHint

      Optional<net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent> getHint(net.minecraft.world.item.ItemStack carried)