Uses of Class
net.risingworld.api.objects.world.ObjectElement
Package
Description
-
Uses of ObjectElement in net.risingworld.api
Modifier and TypeMethodDescriptionstatic ObjectElement
World.createObject
(int typeID, int variant, int color, Vector3f worldPosition, Quaternion rotation, Vector3f scale) Spawns a new object (e.g doors, furniture, lamps etc) at a given position.static ObjectElement
World.getObject
(long globalID, int cx, int cy, int cz) Gets an object element that is placed in the world. -
Uses of ObjectElement in net.risingworld.api.events.player
-
Uses of ObjectElement in net.risingworld.api.events.player.world
Modifier and TypeMethodDescriptionPlayerChangeObjectColorEvent.getObject()
PlayerChangeObjectInfoEvent.getObject()
PlayerChangeObjectStatusEvent.getObject()
PlayerCreativeRemoveObjectEvent.getObject()
PlayerDestroyObjectEvent.getObject()
PlayerHitObjectEvent.getObject()
protected ObjectElement
PlayerObjectEvent.getObject()
Gets the object element.PlayerRemoveObjectEvent.getObject()
-
Uses of ObjectElement in net.risingworld.api.objects
Modifier and TypeMethodDescriptionMetaObject.getRelatedObject()
Gets the object element which represents this meta object in the world.Sign.getRelatedObject()
Gets the object element which represents this meta object in the world.Modifier and TypeMethodDescriptionvoid
Player.getObjectElementInLineOfSight
(float distance, Callback<ObjectElement> callback) Gets the object element in line-of-sight of the player (i.e the object element the player is currently looking at). -
Uses of ObjectElement in net.risingworld.api.objects.world
Modifier and TypeMethodDescriptionChunk.getAllObjects()
Gets all object elements in this chunk (e.g furniture, workbenches, doors etc).