Class KineticNetwork
java.lang.Object
com.simibubi.create.content.contraptions.KineticNetwork
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(KineticTileEntity te) voidaddSilently(KineticTileEntity te, float lastCapacity, float lastStress) floatfloatfloatfloatintgetSize()voidinitFromTE(float maxStress, float currentStress, int members) voidvoidsync()voidvoidupdateCapacityFor(KineticTileEntity te, float capacity) voidvoidvoidupdateStressFor(KineticTileEntity te, float stress)
-
Field Details
-
id
-
initialized
public boolean initialized -
containsFlywheel
public boolean containsFlywheel -
sources
-
members
-
-
Constructor Details
-
KineticNetwork
public KineticNetwork()
-
-
Method Details
-
initFromTE
public void initFromTE(float maxStress, float currentStress, int members) -
addSilently
-
add
-
updateCapacityFor
-
updateStressFor
-
remove
-
sync
public void sync() -
updateCapacity
public void updateCapacity() -
updateStress
public void updateStress() -
updateNetwork
public void updateNetwork() -
calculateCapacity
public float calculateCapacity() -
calculateStress
public float calculateStress() -
getActualCapacityOf
-
getActualStressOf
-
getSize
public int getSize()
-