Class TooltipEvent
java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.TooltipEvent
This event is fired whenever a tooltip is rendered using
IRenderer.describeItem(IGameInstance, IAssetManager, ItemInstance, boolean). Note
that whatever scale is applied to render the tooltip will also be applied
within the event. This is most likely IRenderer.getGuiScale(). This
event cannot be cancelled.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal IAssetManagerfinal IGameInstancefinal IRendererfinal ItemInstance -
Constructor Summary
ConstructorsConstructorDescriptionTooltipEvent(ItemInstance instance, IGameInstance game, IAssetManager assetManager, IRenderer graphics, List<String> description) -
Method Summary
-
Field Details
-
instance
-
game
-
assetManager
-
graphics
-
description
-
-
Constructor Details
-
TooltipEvent
public TooltipEvent(ItemInstance instance, IGameInstance game, IAssetManager assetManager, IRenderer graphics, List<String> description)
-