Class BrassDiodeInstance
java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.tile.TileEntityInstance<BrassDiodeTileEntity>
com.simibubi.create.content.logistics.block.diodes.BrassDiodeInstance
- All Implemented Interfaces:
com.jozufozu.flywheel.backend.api.instance.IInstance,com.jozufozu.flywheel.backend.api.instance.ITickableInstance,com.jozufozu.flywheel.light.LightListener
public class BrassDiodeInstance
extends com.jozufozu.flywheel.backend.instancing.tile.TileEntityInstance<BrassDiodeTileEntity>
implements com.jozufozu.flywheel.backend.api.instance.ITickableInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.jozufozu.flywheel.core.materials.model.ModelDataprotected intFields inherited from class com.jozufozu.flywheel.backend.instancing.tile.TileEntityInstance
blockState, instancePos, pos, tileFields inherited from class com.jozufozu.flywheel.backend.instancing.AbstractInstance
materialManager, world -
Constructor Summary
ConstructorsConstructorDescriptionBrassDiodeInstance(com.jozufozu.flywheel.backend.api.MaterialManager modelManager, BrassDiodeTileEntity tile) -
Method Summary
Methods inherited from class com.jozufozu.flywheel.backend.instancing.tile.TileEntityInstance
getInstancePosition, getOrientedMaterial, getTransformMaterial, getVolume, getWorldPosition, shouldResetMethods 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.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
-
Field Details
-
indicator
protected final com.jozufozu.flywheel.core.materials.model.ModelData indicator -
previousState
protected int previousState
-
-
Constructor Details
-
BrassDiodeInstance
public BrassDiodeInstance(com.jozufozu.flywheel.backend.api.MaterialManager modelManager, BrassDiodeTileEntity tile)
-
-
Method Details
-
tick
public void tick()- Specified by:
tickin interfacecom.jozufozu.flywheel.backend.api.instance.ITickableInstance
-
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
-
getColor
protected int getColor()
-