tutorial:projectiles
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tutorial:projectiles [2020/11/16 21:55] – fixing code spxctreofficial | tutorial:projectiles [2020/11/16 22:05] – fixing my idiotic mistakes spxctreofficial | ||
---|---|---|---|
Line 202: | Line 202: | ||
*/ | */ | ||
if (!world.isClient) { | if (!world.isClient) { | ||
- | SnowballEntity | + | PackedSnowballEntity |
snowballEntity.setItem(itemStack); | snowballEntity.setItem(itemStack); | ||
snowballEntity.setProperties(user, | snowballEntity.setProperties(user, | ||
Line 217: | Line 217: | ||
} | } | ||
</ | </ | ||
+ | Make sure that the projectile that you are launching with this item is indeed your custom '' | ||
+ | \\ | ||
Now, we are finished with creating an item for the '' | Now, we are finished with creating an item for the '' | ||
\\ | \\ |
tutorial/projectiles.txt · Last modified: 2024/03/08 01:56 by netuserget