public interface IAdvancedToolTipProvider extends IToolTipProvider
NeoTech is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License: http://creativecommons.org/licenses/by-nc-sa/4.0/
Modifier and Type | Method and Description |
---|---|
default boolean |
displayShiftForInfo(net.minecraft.item.ItemStack stack)
Defines if the tooltip will add the press shift for more info text
Override this to false if you just want it to show up on shift, useful if press shift for info may already be
present
|
java.util.List<java.lang.String> |
getAdvancedToolTip(net.minecraft.item.ItemStack stack)
Get the tool tip to present when shift is pressed
|
default java.util.List<java.lang.String> |
getToolTip(net.minecraft.item.ItemStack stack)
Used to get the tip to display
|
@Nullable java.util.List<java.lang.String> getAdvancedToolTip(@Nonnull net.minecraft.item.ItemStack stack)
stack
- The itemstackdefault boolean displayShiftForInfo(net.minecraft.item.ItemStack stack)
@Nullable default java.util.List<java.lang.String> getToolTip(@Nonnull net.minecraft.item.ItemStack stack)
getToolTip
in interface IToolTipProvider
stack
-