Class TrackInstance
java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<TrackTileEntity>
com.simibubi.create.content.logistics.trains.track.TrackInstance
- All Implemented Interfaces:
com.jozufozu.flywheel.api.instance.Instance,com.jozufozu.flywheel.light.LightListener
public class TrackInstance
extends com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<TrackTileEntity>
-
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
ConstructorsConstructorDescriptionTrackInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, TrackTileEntity track) -
Method Summary
Methods inherited from class com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance
getInstancePosition, getOrientedMaterial, getTransformMaterial, getWorldPosition, shouldResetMethods inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
init, onLightUpdate, relight, relight, relight, relight, statusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jozufozu.flywheel.light.LightListener
onLightPacket
-
Constructor Details
-
TrackInstance
public TrackInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, TrackTileEntity track)
-
-
Method Details
-
update
public void update()- Overrides:
updatein classcom.jozufozu.flywheel.backend.instancing.AbstractInstance
-
getVolume
public com.jozufozu.flywheel.util.box.ImmutableBox getVolume()- Specified by:
getVolumein interfacecom.jozufozu.flywheel.light.LightListener- Overrides:
getVolumein classcom.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<TrackTileEntity>
-
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
-