Block Fields for Modding (#2538)

* quickRotate

* quickRotate and rotateArrow

* rotateArrow

* rotateArrow

* Update contributors

* quickRotate

* removed rotateArrow

* remove rotateArrow

* removal
This commit is contained in:
Sunny Kim
2020-09-12 23:11:10 +09:00
committed by GitHub
parent 197b67f8c1
commit b5b75656d1
4 changed files with 5 additions and 2 deletions

View File

@@ -195,6 +195,8 @@ public class Block extends UnlockableContent{
public float buildCostMultiplier = 1f;
/** Whether this block has instant transfer.*/
public boolean instantTransfer = false;
/** Whether you can rotate this block with Keybind rotateplaced + Scroll Wheel. */
public boolean quickRotate = true;
protected Prov<Building> entityType = null; //initialized later
public ObjectMap<Class<?>, Cons2> configurations = new ObjectMap<>();