Package net.minecraft.world.item
Interface TooltipFlag
- All Known Implementing Classes:
ClientTooltipFlag,TooltipFlag.Default
public interface TooltipFlag
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TooltipFlag.Defaultstatic final TooltipFlag.Default -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanNeo: Returns the state of the Alt key (as reported by Screen) on the client, orfalseon the server.default booleanNeo: Returns the state of the Control key (as reported by Screen) on the client, orfalseon the server.default booleanNeo: Returns the state of the Shift key (as reported by Screen) on the client, orfalseon the server.booleanboolean
-
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, orfalseon the server. -
hasShiftDown
default boolean hasShiftDown()Neo: Returns the state of the Shift key (as reported by Screen) on the client, orfalseon the server. -
hasAltDown
default boolean hasAltDown()Neo: Returns the state of the Alt key (as reported by Screen) on the client, orfalseon the server.
-