Class BeltTunnelInstance
java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<BeltTunnelTileEntity>
com.simibubi.create.content.logistics.block.belts.tunnel.BeltTunnelInstance
- All Implemented Interfaces:
com.jozufozu.flywheel.api.instance.DynamicInstance,com.jozufozu.flywheel.api.instance.Instance,com.jozufozu.flywheel.light.LightListener
public class BeltTunnelInstance
extends com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<BeltTunnelTileEntity>
implements com.jozufozu.flywheel.api.instance.DynamicInstance
-
Field Summary
Fields inherited from class com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance
blockEntity, blockState, instancePos, posFields inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
materialManager, world -
Constructor Summary
ConstructorsConstructorDescriptionBeltTunnelInstance(com.jozufozu.flywheel.api.MaterialManager modelManager, BeltTunnelTileEntity tile) -
Method Summary
Methods inherited from class com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance
getInstancePosition, getOrientedMaterial, getTransformMaterial, getVolume, getWorldPositionMethods inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
init, onLightUpdate, relight, relight, relight, relight, 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.DynamicInstance
decreaseFramerateWithDistanceMethods inherited from interface com.jozufozu.flywheel.api.instance.Instance
getWorldPositionMethods inherited from interface com.jozufozu.flywheel.light.LightListener
onLightPacket
-
Constructor Details
-
BeltTunnelInstance
public BeltTunnelInstance(com.jozufozu.flywheel.api.MaterialManager modelManager, BeltTunnelTileEntity tile)
-
-
Method Details
-
shouldReset
public boolean shouldReset()- Overrides:
shouldResetin classcom.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<BeltTunnelTileEntity>
-
beginFrame
public void beginFrame()- Specified by:
beginFramein interfacecom.jozufozu.flywheel.api.instance.DynamicInstance
-
updateLight
public void updateLight()- Overrides:
updateLightin classcom.jozufozu.flywheel.backend.instancing.AbstractInstance
-
remove
public void remove()- Specified by:
removein classcom.jozufozu.flywheel.backend.instancing.AbstractInstance
-