Class BrassDiodeInstance
java.lang.Object
com.jozufozu.flywheel.backend.instancing.AbstractInstance
com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<BrassDiodeTileEntity>
com.simibubi.create.content.logistics.block.diodes.BrassDiodeInstance
- All Implemented Interfaces:
com.jozufozu.flywheel.api.instance.Instance,com.jozufozu.flywheel.api.instance.TickableInstance,com.jozufozu.flywheel.light.LightListener
public class BrassDiodeInstance
extends com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance<BrassDiodeTileEntity>
implements com.jozufozu.flywheel.api.instance.TickableInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.jozufozu.flywheel.core.materials.model.ModelDataprotected intFields 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
ConstructorsConstructorDescriptionBrassDiodeInstance(com.jozufozu.flywheel.api.MaterialManager modelManager, BrassDiodeTileEntity tile) -
Method Summary
Methods inherited from class com.jozufozu.flywheel.backend.instancing.blockentity.BlockEntityInstance
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.api.instance.Instance
getWorldPositionMethods inherited from interface com.jozufozu.flywheel.light.LightListener
onLightPacketMethods inherited from interface com.jozufozu.flywheel.api.instance.TickableInstance
decreaseTickRateWithDistance
-
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.api.MaterialManager modelManager, BrassDiodeTileEntity tile)
-
-
Method Details
-
tick
public void tick()- Specified by:
tickin interfacecom.jozufozu.flywheel.api.instance.TickableInstance
-
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()
-