Uses of Class
net.risingworld.api.worldelements.GameObject
Packages that use GameObject
Package
Description
-
Uses of GameObject in net.risingworld.api.events.player
Methods in net.risingworld.api.events.player that return GameObjectModifier and TypeMethodDescriptionPlayerElementCollisionEvent.getGameObject()Deprecated, for removal: This API element is subject to removal in a future version.Gets the world element.PlayerElementHitEvent.getGameObject()Deprecated, for removal: This API element is subject to removal in a future version.PlayerElementInteractionEvent.getGameObject()Deprecated, for removal: This API element is subject to removal in a future version.PlayerGameObjectHitEvent.getGameObject()Gets the game object that was hit by the player.PlayerGameObjectInteractionEvent.getGameObject()Gets the game object the player interacted with. -
Uses of GameObject in net.risingworld.api.objects
Methods in net.risingworld.api.objects that return GameObjectModifier and TypeMethodDescriptionPlayer.getAllGameObjects(boolean includeFromOtherPlugins) Gets allGameObjectswhich were added to the player's world.Methods in net.risingworld.api.objects with parameters of type GameObjectModifier and TypeMethodDescriptionvoidPlayer.addGameObject(GameObject gameObject) Adds the providedGameObjectto the player's world.voidPlayer.removeGameObject(GameObject gameObject) Removes aGameObjectfrom the player's world. -
Uses of GameObject in net.risingworld.api.worldelements
Subclasses of GameObject in net.risingworld.api.worldelementsModifier and TypeClassDescriptionclassA visual representation of anArea.classRepresents a light source.classRepresents a custom 3d model or mesh.classRepresents a local (or global) post-processing volume in the scene.classRepresents a custom prefab.classRepresents a 3d world textMethods in net.risingworld.api.worldelements that return GameObjectModifier and TypeMethodDescriptionGameObject.getParent()Gets the current parent UI element, or null if this element has no parent.Methods in net.risingworld.api.worldelements that return types with arguments of type GameObjectModifier and TypeMethodDescriptionGameObject.getChilds()Gets an unmodifiable list of all children of this object.Methods in net.risingworld.api.worldelements with parameters of type GameObjectModifier and TypeMethodDescriptionvoidGameObject.addChild(GameObject child) voidGameObject.removeChild(GameObject child) Removes a child from this object.