how would iu go about making a custom ranged weapon that uses its own ammo type, and or customise most aspects, from looking at a different post
const $bowItem = Java.loadClass('net.minecraft.world.item.BowItem')
const $ItemProperties = Java.loadClass('net.minecraft.world.item.Item$Properties')
StartupEvents.registry('item', event => {
event.create('dart_chute', () => new $bowItem(new $ItemProperties().defaultDurability(23)))
})
```dont work, either because BowItem isnt a thing or some other random thing








