add Keys.INACCURACY (#2370)
This commit is contained in:
1 parent
3a35612756
commit
89ca0146c7
1 file changed
+7
@@ -1116,6 +1116,13 @@ public final class Keys {
|
||||
*/
|
||||
public static final Key<Value<HorseStyle>> HORSE_STYLE = Keys.key(ResourceKey.sponge("horse_style"), HorseStyle.class);
|
||||
|
||||
/**
|
||||
* The inaccuracy of an {@link ItemStack} that launches {@link Projectile}s.
|
||||
*
|
||||
* <p>An inaccuracy of 0 means perfect accuracy. Inaccuracy of 1 is the default for most vanilla items.</p>
|
||||
*/
|
||||
public static final Key<Value<Double>> INACCURACY = Keys.key(ResourceKey.sponge("inaccuracy"), Double.class);
|
||||
|
||||
/**
|
||||
* Whether an {@link Item} will not despawn for an infinite time.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user