#Bow Template (1.20.60 Fix Update)

1 messages ยท Page 1 of 1 (latest)

ocean nimbus
#

I want to contribute something that many people usually look for when creating items, making bows, it is a Custom Bow that works 80% the same as vanilla, it is free to use as long as they give me credits.

(Newest/Recent) 1.20.60 version:
https://www.mediafire.com/file/nax1pyp0ruyo6qe/VactricaKing_Bow_Template_1.20.60_FIX.mcaddon/file

1.20.10 version:
https://www.mediafire.com/file/nmpz3upm3g38fyf/VactricaKing_Bow_Template.mcaddon/file

fresh turtle
#

Nice!

winter crescent
#

Very cool

tough vector
#

I only noticed one difference, the FOV increase and speed decrease with a normal bow

#

And yours has none of that

#

Otherwise, very cool ๐Ÿ‘

timber garden
#

amazing

gleaming bloom
#

neat

lofty torrent
gleaming bloom
lofty torrent
#

Yeah but camera manipulation to make it look like you're changing it

tough vector
#

You canโ€™t sprint at normal speed with a bow

#

Just reduce the players speed a bit with js

frail horizon
#

@ocean nimbus mind if i duplicate the files so i can make multiple? its just for a server im in

frail horizon
#

ight

#

thx

pine plume
#

@ocean nimbus how about crossbow?

ocean nimbus
pine plume
#

Can we use this template in any addon but...?

ocean nimbus
#

@pine plume If you manage to make a crossbow with my template please tag me

pine plume
#

Well let my try it to make crossbow when I'm free from lazy and college's life

dry quest
frail horizon
#

@ocean nimbus I would love if someone else could take a look at trying to make an elytra template, I've been trying, but fail, as i make mods on my phone.

paper dew
#

Can you add custom arrow entities ?

dim scarab
#

Looks like the recent update messed with this some unless I'm using it wrong.

Toolbar item animations no longer work and I can't seem to get the 3rd person animation working properly, though that's likely easy to fix or just something I've done wrong.

ocean nimbus
pine plume
#

@ocean nimbus I need to know when you make a custom arrow and that arrow can use in vanilla bow or crossbow?

gentle spade
#

has it been fixed yet? I'm curous because I have been struggling a lot on making a custom bow.

ocean nimbus
#

I will update it soon

gentle spade
#

No worries

ocean nimbus
ocean nimbus
#

Bow Template (1.20.60 Fix Update)

paper dew
pine plume
#

In arrow, can I make custom arrow?

ocean nimbus
pine plume
#

Thankd

acoustic verge
#

For 1.20.50 should I use the 1.20.60 or the 1.20.10 version?

ocean nimbus
onyx shoal
#

judging by the format version, its 1.20.10

pine plume
#

I think you downloaded the wrong version?

onyx shoal
#

I've triple checked, to me, it looks like both links resolve to the same thing
got it to work though, just had to add said component

pine plume
#

You try to download two versions and you compare it

gleaming bloom
gleaming bloom
#

aired ๐Ÿ˜ž

#

if i figure it out, i'll put the solution here in case anyone else has that issue too

ocean nimbus
gleaming bloom
#

well it worked when i just used the example pack unedited

#

that's why i was confused

#

it's alright tho, don't worry

ocean nimbus
ocean nimbus
gleaming bloom
#

odd

#

ah well, it's just a visual thing, so i'm not that bothered

distant obsidian
#

@opaque shuttle

#

C'mon ,someone pinned this on dev resource ๐Ÿ˜ญ

opaque shuttle
#

Yessss

#

I finally found how to make bow

stable radish
amber wren
#

I activate both my addon and your template and to my surprise, your template is working just fine but mine isn't

pine plume
#

Is this fixed? And also is it fixed in previous versions?

uneven vortex
#

Is there a way to remove the charging up of the bow fully

limpid sable
#

how would one add more pulling animation

#

past the 3 already added ones

#

im kinda new to this sorry

#

like i mean 6 pulling textures for example

uneven vortex
opaque shuttle
uneven vortex
#

the 3 blue ones contain the animation stuff(bow_pulling) and in the red one all you have to change I think is this

uneven vortex
limpid sable
#

Oh alrighty thanks

#

Also

#

How does one make a custom crossbow

#

Or is there a crossbow template somewhere in this server

uneven vortex
opaque shuttle
#

Can you please make a Custom Crossbow Template?

#

please๐Ÿ™๐Ÿ™๐Ÿ™๐Ÿ™๐Ÿ™

spiral pumice
#

ooh

opaque shuttle
#

please ๐Ÿ™ ๐Ÿ™ ๐Ÿ™

jaunty plover
#

Can you please make a Custom Crossbow Template?
please ๐Ÿ™ ๐Ÿ™ ๐Ÿ™

opaque shuttle
#

lmao

limpid sable
#

you could probably make your own basing it off the vanilla files

#

using the attachables, animations, render_controllers, player.animation

opaque shuttle
#

bruh

strong laurel
fringe prairie
#

Love this template, a few adjustments and it works in the newest version just fine

sly lynx
fringe prairie
#

Do you have ammunition in the shooter component still?

fringe prairie
sly lynx
sly lynx
#
q.main_hand_item_use_duration > 0.0f && c.is_first_person && (t.iterator = 0; loop(27, {query.is_item_name_any('slot.inventory', t.iterator, 'minecraft:arrow') ? {return true;}; t.iterator = t.iterator + 1;}); t.iterator = 0; loop(9, {query.is_item_name_any('slot.hotbar', t.iterator, 'minecraft:arrow') ? {return true;}; t.iterator = t.iterator + 1;}); return false);
fringe prairie
#

Ty

fringe prairie
#

This is what i modified mine to be like

fringe prairie
# sly lynx yes, but it looks weird to run everything :/
{
  "format_version": "1.21.10",
  "minecraft:item": {
    "description": {
      "identifier": "bow:bow",
      "menu_category": {
        "category": "equipment"
      }
    },
    "components": {
      "minecraft:icon": "custom_bow",
      "minecraft:display_name": {
        "value": "item.bow:bow.name"
      },
      "minecraft:tags": {
        "tags": [
          "bow:bow"
        ]
      },
      "minecraft:repairable": {
        "repair_items": [
          {
            "items": [
              "minecraft:string"
            ],
            "repair_amount": "q.max_durability / 0.2"
          },
          {
            "items": [
              "minecraft:stick"
            ],
            "repair_amount": "q.max_durability / 0.3"
          },
          {
            "items": [
              "bow:bow"
            ],
            "repair_amount": "c.other->q.remaining_durability * 0.8"
          }
        ]
      },
      "minecraft:enchantable": {
        "value": 1,
        "slot": "bow"
      },
      "minecraft:durability": {
        "max_durability": 384
      },
      "minecraft:use_modifiers": {
        "use_duration": 9999,
        "movement_modifier": 0.4
      },
      "minecraft:shooter": {
        "max_draw_duration": 1,
        "scale_power_by_draw_duration": true,
        "ammunition": [
          {
            "item": "bow:arrow",
            "use_offhand": true,
            "search_inventory": true,
            "use_in_creative": true
          }
        ]
      },
      "minecraft:projectile": {
        "minimum_critical_power": 1.25,
        "projectile_entity": "arrow"
      },
      "minecraft:use_animation": "bow",
      "minecraft:max_stack_size": 1,
      "minecraft:glint": false,
      "minecraft:hand_equipped": true
    }
  }
}
fringe prairie
sly lynx
fringe prairie
sly lynx
fringe prairie
#

i thought u meant the arrow wasn't spawning

#

Prob gotta modify the render controller

sly lynx
# fringe prairie

the arrow should be removed with this but I can't find a way to make it detect the inventory as well

fringe prairie
#

Am trying smt

sly lynx
#

it would be great if you could find a way because I've been trying since yesterday xd

fringe prairie
sly lynx
#

why?

fringe prairie
#

but it didn't work

#

It's like it's always returning false

sly lynx
sly lynx
fringe prairie
#

oh no

#

i'm getting in too deep now

#

hmm

sly lynx
#

I don't know what it means, it came out in several of my attempts

fringe prairie
#

idk bruh, i ain't able to get it

#

i tried lol

sly lynx
#

no problem, ty ๐Ÿ˜„

rugged olive
#

Does this works for 1.21+?

fringe prairie
rugged olive
#

What kind of update?

fringe prairie
#

I just updated the stuff to the most recent format

modest horizon
#

Iโ€™m having this wierd issue where if I change the identifier or anything like that the bow use animation stops working

#

Iโ€™m using @fringe prairie updated code + whatever else was in the original

modest horizon
#

(Replace the textures and model file)

#

but when I try and edit the code itself straight up just changing the identifier the bow use anim just stops working

#
{
  "format_version": "1.21.10",
  "minecraft:item": {
    "description": {
      "identifier": "knights:saracen_bow",
      "menu_category": {
        "category": "equipment"
      }
    },
    "components": {
      "minecraft:icon": "custom_bow",
      "minecraft:display_name": {
        "value": "Recurved (Saracen) Bow"
      },
      "minecraft:tags": {
        "tags": [
          "bow:bow"
        ]
      },
      "minecraft:repairable": {
        "repair_items": [
          {
            "items": [
              "minecraft:string"
            ],
            "repair_amount": "q.max_durability / 0.2"
          },
          {
            "items": [
              "minecraft:stick"
            ],
            "repair_amount": "q.max_durability / 0.3"
          },
          {
            "items": [
              "knights:saracen_bow"
            ],
            "repair_amount": "c.other->q.remaining_durability * 0.8"
          }
        ]
      },
      "minecraft:enchantable": {
        "value": 1,
        "slot": "bow"
      },
      "minecraft:durability": {
        "max_durability": 400
      },
      "minecraft:use_modifiers": {
        "use_duration": 9999,
        "movement_modifier": 0.3
      },
      "minecraft:shooter": {
        "max_draw_duration": 1.2,
        "scale_power_by_draw_duration": true,
        "ammunition": [
          {
            "item": "minecraft:arrow",
            "use_offhand": true,
            "search_inventory": true,
            "use_in_creative": true
          }
        ]
      },
      "minecraft:projectile": {
        "minimum_critical_power": 1.2,
        "projectile_entity": "arrow"
      },
      "minecraft:use_animation": "bow",
      "minecraft:max_stack_size": 1,
      "minecraft:glint": false,
      "minecraft:hand_equipped": true
    }
  }
}
#

Original

{
  "format_version": "1.21.10",
  "minecraft:item": {
    "description": {
      "identifier": "bow:bow",
      "menu_category": {
        "category": "equipment"
      }
    },
    "components": {
      "minecraft:icon": "custom_bow",
      "minecraft:display_name": {
        "value": "item.bow:bow.name"
      },
      "minecraft:tags": {
        "tags": [
          "bow:bow"
        ]
      },
      "minecraft:repairable": {
        "repair_items": [
          {
            "items": [
              "minecraft:string"
            ],
            "repair_amount": "q.max_durability / 0.2"
          },
          {
            "items": [
              "minecraft:stick"
            ],
            "repair_amount": "q.max_durability / 0.3"
          },
          {
            "items": [
              "bow:bow"
            ],
            "repair_amount": "c.other->q.remaining_durability * 0.8"
          }
        ]
      },
      "minecraft:enchantable": {
        "value": 1,
        "slot": "bow"
      },
      "minecraft:durability": {
        "max_durability": 384
      },
      "minecraft:use_modifiers": {
        "use_duration": 9999,
        "movement_modifier": 0.4
      },
      "minecraft:shooter": {
        "max_draw_duration": 1,
        "scale_power_by_draw_duration": true,
        "ammunition": [
          {
            "item": "bow:arrow",
            "use_offhand": true,
            "search_inventory": true,
            "use_in_creative": true
          }
        ]
      },
      "minecraft:projectile": {
        "minimum_critical_power": 1.25,
        "projectile_entity": "arrow"
      },
      "minecraft:use_animation": "bow",
      "minecraft:max_stack_size": 1,
      "minecraft:glint": false,
      "minecraft:hand_equipped": true
    }
  }
}
ocean nimbus
#

Bow Template (custom components update) coming soon!

modest horizon
pine thicket
#

@ocean nimbus
is it out yet ??
if not then can you help me make a rocket launcher ??

spiral pumice
#

Guess not

strong laurel
ocean nimbus
magic fable
rugged olive
#

Does this work for 1.21.50?

fringe prairie
#

It still worked w/o custom components for me

#

I just had to update some stuff to the new format

modest horizon
#

My issue was the 3rd person bow animation not working

gleaming bloom
#

at 9999 the anim plays incredibly slow

ocean nimbus
#

It is very necessary to place 9999

#

Otherwise the animation will loop.

ocean nimbus
gleaming bloom
ocean nimbus
gleaming bloom
#

it's real weird

#

i made a crossbow out of this template, or rather, am making one

#

it's not perfect yet lol

modest horizon
#

the annoying thing was everything else was perfect

#

Or close enough anyway

magic fable
#

Do pre-Custom Components content simply not work anymore?

#

Or can I set to 1.20.60 content version in the file and use the old one?

magic fable
strong laurel
#

so at this point what needs to be altered for the first person animation to work?

magic fable
strong laurel
magic fable
#

Most of it is in the resource pack though

rugged olive
#

Don't mind this, I just did that because the files are buried.

gilded elbow
#

Can this still be made compatible with 1.21.x?

still grove
modest horizon
still grove
#

And in the controller does it have the same Identifer(Idk if they do have identifers tho)

silver iris
#

Where is third-person animation defined in this addon?

stiff drift
#

This template isn't working anymore

lofty torrent
#

I should probably post mine

#

I combined his and the other guys and made some other tweaks lol