Class ExpandBowItem
java.lang.Object
com.blamejared.crafttweaker.natives.item.type.projectileweapon.ExpandBowItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic floatgetPowerForTime(int charge) Converts the given time to a power value between 0 and 1
-
Constructor Details
-
ExpandBowItem
public ExpandBowItem()
-
-
Method Details
-
getPowerForTime
public static float getPowerForTime(int charge) Converts the given time to a power value between 0 and 1- Parameters:
charge- The charge to convert- Returns:
- the given time as a power value between 0 and 1
- DocParam:
- charge 5
-