Package net.minecraft.world.item
Interface TooltipFlag
- All Known Implementing Classes:
ClientTooltipFlag
,TooltipFlag.Default
public interface TooltipFlag
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TooltipFlag.Default
static final TooltipFlag.Default
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Neo: Returns the state of the Alt key (as reported by Screen) on the client, orfalse
on the server.default boolean
Neo: Returns the state of the Control key (as reported by Screen) on the client, orfalse
on the server.default boolean
Neo: Returns the state of the Shift key (as reported by Screen) on the client, orfalse
on the server.boolean
boolean
-
Field Details
-
NORMAL
-
ADVANCED
-
-
Method Details
-
isAdvanced
boolean isAdvanced() -
isCreative
boolean isCreative() -
hasControlDown
default boolean hasControlDown()Neo: Returns the state of the Control key (as reported by Screen) on the client, orfalse
on the server. -
hasShiftDown
default boolean hasShiftDown()Neo: Returns the state of the Shift key (as reported by Screen) on the client, orfalse
on the server. -
hasAltDown
default boolean hasAltDown()Neo: Returns the state of the Alt key (as reported by Screen) on the client, orfalse
on the server.
-