tutorial:projectiles
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:projectiles [2020/11/16 21:55] – fixing code spxctreofficial | tutorial:projectiles [2020/11/16 22:17] – tutorial-download 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 '' | ||
\\ | \\ | ||
Line 408: | Line 409: | ||
Now, your projectile should be working in-game! Just make sure your textures are in the right place, and your item and projectile should be working. | Now, your projectile should be working in-game! Just make sure your textures are in the right place, and your item and projectile should be working. | ||
+ | |||
+ | If you would like to try out this projectile, download [[https:// | ||
[INSERT USABLE PICTURE HERE] | [INSERT USABLE PICTURE HERE] |
tutorial/projectiles.txt · Last modified: 2024/03/08 01:56 by netuserget