Package guideme.scene.annotation
Class SceneAnnotation
java.lang.Object
guideme.scene.annotation.SceneAnnotation
- All Implemented Interfaces:
guideme.internal.siteexport.ExportableResourceProvider
- Direct Known Subclasses:
InWorldAnnotation
,OverlayAnnotation
public abstract class SceneAnnotation
extends Object
implements guideme.internal.siteexport.ExportableResourceProvider
An annotation to show additional information to the user about content in a
GuidebookScene
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exportResources
(guideme.internal.siteexport.ResourceExporter exporter) @Nullable GuideTooltip
boolean
boolean
void
setHovered
(boolean hovered) void
setTooltip
(@Nullable GuideTooltip tooltip) void
setTooltipContent
(LytBlock block) void
setTooltipContent
(net.minecraft.network.chat.Component component)
-
Constructor Details
-
SceneAnnotation
public SceneAnnotation()
-
-
Method Details
-
getTooltip
-
setTooltip
-
setTooltipContent
-
setTooltipContent
public void setTooltipContent(net.minecraft.network.chat.Component component) -
hasTooltip
public boolean hasTooltip() -
isHovered
public boolean isHovered() -
setHovered
public void setHovered(boolean hovered) -
exportResources
public void exportResources(guideme.internal.siteexport.ResourceExporter exporter) - Specified by:
exportResources
in interfaceguideme.internal.siteexport.ExportableResourceProvider
-