Class GlueInstance
java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.entity.EntityInstance<SuperGlueEntity>
com.simibubi.create.content.contraptions.components.structureMovement.glue.GlueInstance
- All Implemented Interfaces:
com.jozufozu.flywheel.backend.api.instance.IInstance,com.jozufozu.flywheel.backend.api.instance.ITickableInstance,com.jozufozu.flywheel.light.LightListener,com.jozufozu.flywheel.light.MovingListener
public class GlueInstance
extends com.jozufozu.flywheel.backend.instancing.entity.EntityInstance<SuperGlueEntity>
implements com.jozufozu.flywheel.backend.api.instance.ITickableInstance
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.jozufozu.flywheel.core.instancing.ConditionalInstance<com.jozufozu.flywheel.core.materials.oriented.OrientedData>Fields inherited from class com.jozufozu.flywheel.backend.instancing.entity.EntityInstance
bounds, entityFields inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
materialManager, world -
Constructor Summary
ConstructorsConstructorDescriptionGlueInstance(com.jozufozu.flywheel.backend.api.MaterialManager materialManager, SuperGlueEntity entity) -
Method Summary
Methods inherited from class com.jozufozu.flywheel.backend.instancing.entity.EntityInstance
getInstancePosition, getInstancePosition, getVolume, getWorldPosition, updateMethods inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
init, onLightUpdate, relight, relight, relight, relight, shouldReset, status, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jozufozu.flywheel.backend.api.instance.IInstance
getWorldPositionMethods inherited from interface com.jozufozu.flywheel.backend.api.instance.ITickableInstance
decreaseTickRateWithDistanceMethods inherited from interface com.jozufozu.flywheel.light.LightListener
onLightPacket, onLightUpdate, status
-
Field Details
-
model
protected com.jozufozu.flywheel.core.instancing.ConditionalInstance<com.jozufozu.flywheel.core.materials.oriented.OrientedData> model
-
-
Constructor Details
-
GlueInstance
public GlueInstance(com.jozufozu.flywheel.backend.api.MaterialManager materialManager, SuperGlueEntity entity)
-
-
Method Details
-
tick
public void tick()- Specified by:
tickin interfacecom.jozufozu.flywheel.backend.api.instance.ITickableInstance
-
remove
public void remove()- Specified by:
removein classcom.jozufozu.flywheel.backend.instancing.AbstractInstance
-
updateLight
public void updateLight()- Overrides:
updateLightin classcom.jozufozu.flywheel.backend.instancing.AbstractInstance
-