public abstract class AbstractPulleyInstance extends ShaftInstance implements com.jozufozu.flywheel.backend.instancing.IDynamicInstance, com.jozufozu.flywheel.light.ILightUpdateListener
| Modifier and Type | Field and Description |
|---|---|
protected float |
offset |
protected net.minecraft.util.Direction |
rotatingAbout |
protected net.minecraft.util.math.vector.Vector3f |
rotationAxis |
rotatingModelaxis| Constructor and Description |
|---|
AbstractPulleyInstance(com.jozufozu.flywheel.backend.material.MaterialManager<?> dispatcher,
KineticTileEntity tile) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginFrame() |
boolean |
decreaseFramerateWithDistance() |
protected abstract com.jozufozu.flywheel.backend.instancing.Instancer<com.jozufozu.flywheel.core.materials.OrientedData> |
getCoilModel() |
protected abstract com.jozufozu.flywheel.backend.instancing.Instancer<com.jozufozu.flywheel.core.materials.OrientedData> |
getHalfMagnetModel() |
protected abstract com.jozufozu.flywheel.backend.instancing.Instancer<com.jozufozu.flywheel.core.materials.OrientedData> |
getHalfRopeModel() |
protected abstract com.jozufozu.flywheel.backend.instancing.Instancer<com.jozufozu.flywheel.core.materials.OrientedData> |
getMagnetModel() |
protected abstract float |
getOffset() |
protected abstract com.jozufozu.flywheel.backend.instancing.Instancer<com.jozufozu.flywheel.core.materials.OrientedData> |
getRopeModel() |
protected abstract boolean |
isRunning() |
boolean |
onLightUpdate(net.minecraft.world.IBlockDisplayReader world,
net.minecraft.world.LightType type,
com.jozufozu.flywheel.light.GridAlignedBB changed) |
void |
remove() |
protected void |
resizeRope() |
void |
updateLight() |
getRenderedBlockStategetModel, updategetRotatingMaterial, getRotationAxis, getRotationOffset, getTileSpeed, setup, setup, setup, setup, shaft, shaft, updateRotation, updateRotation, updateRotation, updateRotationgetInstancePosition, getOrientedMaterial, getTransformMaterial, getWorldPosition, relight, relight, relight, relight, shouldResetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected float offset
protected final net.minecraft.util.Direction rotatingAbout
protected final net.minecraft.util.math.vector.Vector3f rotationAxis
public AbstractPulleyInstance(com.jozufozu.flywheel.backend.material.MaterialManager<?> dispatcher,
KineticTileEntity tile)
public void beginFrame()
beginFrame in interface com.jozufozu.flywheel.backend.instancing.IDynamicInstancepublic void updateLight()
updateLight in interface com.jozufozu.flywheel.backend.instancing.IInstanceupdateLight in class SingleRotatingInstancepublic void remove()
remove in interface com.jozufozu.flywheel.backend.instancing.IInstanceremove in class SingleRotatingInstanceprotected abstract com.jozufozu.flywheel.backend.instancing.Instancer<com.jozufozu.flywheel.core.materials.OrientedData> getRopeModel()
protected abstract com.jozufozu.flywheel.backend.instancing.Instancer<com.jozufozu.flywheel.core.materials.OrientedData> getMagnetModel()
protected abstract com.jozufozu.flywheel.backend.instancing.Instancer<com.jozufozu.flywheel.core.materials.OrientedData> getHalfMagnetModel()
protected abstract com.jozufozu.flywheel.backend.instancing.Instancer<com.jozufozu.flywheel.core.materials.OrientedData> getCoilModel()
protected abstract com.jozufozu.flywheel.backend.instancing.Instancer<com.jozufozu.flywheel.core.materials.OrientedData> getHalfRopeModel()
protected abstract float getOffset()
protected abstract boolean isRunning()
protected void resizeRope()
public boolean decreaseFramerateWithDistance()
decreaseFramerateWithDistance in interface com.jozufozu.flywheel.backend.instancing.IDynamicInstancepublic boolean onLightUpdate(net.minecraft.world.IBlockDisplayReader world,
net.minecraft.world.LightType type,
com.jozufozu.flywheel.light.GridAlignedBB changed)
onLightUpdate in interface com.jozufozu.flywheel.light.ILightUpdateListener