RangedAmmunition
Owns real item-use sessions while a caller grants ordinary ammunition. No inventory ammunition is inserted.
Functions
Link copied to clipboard
Returns null for a paid projectile, charged crossbow, or another item already in use.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected static MethodHandle nativeMethod(Class<? extends Object> owner, Class<? extends Object> result, Array<Class<? extends Object>> arguments)
Resolves APIs whose static/instance ownership changed between supported server mappings.
protected static MethodHandle nativeMethod(Class<? extends Object> owner, Class<? extends Object> result, boolean isStatic, Array<Class<? extends Object>> arguments)
Signatures survive Spigot remapping; resolve once, reject missing or ambiguous native entry points.
Link copied to clipboard
protected static MethodHandle nativeShootMethod(Class<? extends Object> owner, Array<Class<? extends Object>> arguments)
Paper exposes bow force separately for its shoot event; Spigot has no separate argument.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Keeps release in the same native packet queue as preceding use and following hand changes.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard