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.api.instance.Instance,com.jozufozu.flywheel.api.instance.TickableInstance,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.api.instance.TickableInstance
-
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.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.api.instance.Instance
getWorldPositionMethods inherited from interface com.jozufozu.flywheel.light.LightListener
onLightPacket, onLightUpdate, statusMethods inherited from interface com.jozufozu.flywheel.api.instance.TickableInstance
decreaseTickRateWithDistance
-
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.api.MaterialManager materialManager, SuperGlueEntity entity)
-
-
Method Details
-
tick
public void tick()- Specified by:
tickin interfacecom.jozufozu.flywheel.api.instance.TickableInstance
-
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
-