[ Skipped ] How do i make another projectile like snowballs,ender pearls or eggs ?

Started by RandomPersonHear on

Topic category: Advanced modding

Last seen on 12:34, 9. Mar 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[ Skipped ] How do i make another projectile like snowballs,ender pearls or eggs ?
Fri, 01/06/2023 - 11:09 (edited)

Does any one know how to create a projectile that can render item according to the NBT tag "item" which can be added when summoning snowballs ,ender pearls, eggs to make them render different items

The mcreator seems to not have much procedure block related to entity rendering so coding it is ,BUT another problem is... i don't know much about rendering so here i am now

For example when i use a custom item to shoot out the projectile while having an item in the offhand slot then the projectile will be rendered as the item offhand that may be too complex for the current me but it can't hurt to try

 

 

 

Nvm i'll leave this problem to my future self that is if i know how to code n remember this

Edited by RandomPersonHear on Fri, 01/06/2023 - 11:09
Last seen on 00:55, 28. Mar 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know how you'd go…
Mon, 01/02/2023 - 16:44

I don't know how you'd go about doing this- it might be easier to just make the custom projectile look like whatever you're trying to shoot. (Mcreator has built in support for projectiles with item textures.) You could also make some procedure that replaces the projectile entity with a different custom projectile with the same velocity. It really depends on what, exactly, you're trying to do.

Last seen on 12:34, 9. Mar 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well my main idea is to make…
Wed, 01/04/2023 - 04:18

well my main idea is to make a slingshot or just a wand that can shoots items that aren't supposed to be projectiles like sticks blocks weapons if you hold them offhand while shooting.I can just make the projectile has one texture but where's the fun in that (also having flexable texture makes the projectile much more recognizable)

In short, I need to make an omni-projectile that can change textures similar to how snowballs,eggs change textures when you add Item:{id:"minecraft:item",Count:1b,tags:{}} when you summon them.

And another thing i realized when writing this is that i just need to add 1 projectile in to the game to have a MINECRAFT amount of different projectiles. well maybe just adding IDs to the projectile is easy but making it render the item model...not so much

So we are back to where we started.