#(LG_Legacy) Making a custom throwable item.

1 messages · Page 1 of 1 (latest)

hot cradle
#

I'm attempting to make a custom throwable item and I'm not sure how to hide the thrown snowball properly. The invisible doesn't seem to actually hide the snowball at all, and hide_from_players is not an option due to the entity not being networked to the client anymore so the item_display for my custom projectile simply stays in the air until the snowball hits somewhere.

https://paste.denizenscript.com/View/125250 - Debug
https://paste.denizenscript.com/View/125251 - Script

safe kayakBOT
#

(LG_Legacy) Making a custom throwable item.

safe kayakBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

hot cradle
#

I realize for vanilla items I can just - adjust <entry[my_entry].shot_entity> item:brick for vanilla items, but if I want it to have custom model data for say... Daggers or throwing knives, then I am unsure of how to do that.

earnest birch
#

Wont that work the same way?

#

!m item

rose sailBOT
# earnest birch !m item
Cannot Specify Searched Mechanism

Multiple possible mechanisms: ItemTag.map, ItemTag.book, ItemTag.flag, ItemTag.lock, ItemTag.lore, ItemTag.trim, ItemTag.worth, ItemTag.color, ItemTag.hides, EntityTag.item, ItemTag.display, ItemTag.display, ItemTag.raw_nbt, ItemTag.material, NPCTag.item_type, ItemTag.firework, ItemTag.flag_map, ItemTag.patterns, ItemTag.quantity, ItemTag.invisible, ...

#
Possible Confusion

Did you mean to search for command team?

earnest birch
#

!m entity.item

rose sailBOT
# earnest birch !m entity.item

(Property) An entity's item, which can be:

  • the item represented and displayed by a dropped item.
  • the item represented by a thrown trident.
  • a throwable projectile's display item.
  • an eye-of-ender's item, which is both displayed and dropped.
  • a fireball's display item.
  • an item display's display item.
Group

Properties

Object

EntityTag

Input

ItemTag

Tags

<EntityTag.item> (Property) An entity's item, which can be: - the item represented and displayed b...

earnest birch
#

It takes an item tag input.. so the item can have custom model data on it

hot cradle
#

Huh, that's an idea. Yeah that would make sense. Will get back to you on that.