Class WorldObject<T extends WorldObject<T>>
java.lang.Object
com.render.api.world.WorldObject<T>
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
Arrow3D, BlockHighlight3D, Box3D, Circle3D, Cone3D, Cylinder3D, Decal3D, Image3D, InstanceBatch3D, Line3D, Model3D, Plane3D, Polyline3D, Sphere3D, Text3D, Trail3D, Waypoint3D, WorldLodGroup, WorldParticleSystem
Inert retained world object that becomes active only after
WorldScene.add(T).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanimation(WorldAnimation value) protected final floatanimationValue(WorldRenderContext context) final voidclose()booleanclosed()protected final WorldTransformeffectiveTransform(WorldRenderContext context) effects()effects(WorldEffectStack value) protected abstract voidextract(WorldRenderContext context) protected WorldBoundsmaterial()material(WorldMaterial value) booleanpickable()pickable(boolean value) pickable(long id) longpickId()position(double x, double y, double z) position(net.minecraft.world.phys.Vec3 value) protected voidprotected final Tself()transform(WorldTransform value) updater(WorldObjectUpdater<T> value) booleanvisible()visible(boolean value)
-
Constructor Details
-
WorldObject
public WorldObject()
-
-
Method Details
-
self
-
visible
-
visible
public boolean visible() -
closed
public boolean closed() -
transform
-
transform
-
position
-
position
-
material
-
material
-
effects
-
effects
-
animation
-
updater
-
pickable
-
pickable
-
pickable
public boolean pickable() -
pickId
public long pickId() -
effectiveTransform
-
animationValue
-
localBounds
-
extract
-
releaseResources
protected void releaseResources() -
close
public final void close()- Specified by:
closein interfaceAutoCloseable
-