Posted September 4, 20205 yr How do i play a minecraft's cloud(particle that appears when an entity is killed) on the player's position? Also, how do i play a dragon's roar sound, too?
September 4, 20205 yr Stuff like this can be easily found both in the vanilla Minecraft source code, and on the forge documentation (here is the documentation on sound for example). It will take forever for you to finish your mod if you have to ask a question here for every method you want to use. You should really take some time and learn the features of your IDE.
September 4, 20205 yr Have you try to look around the forum or see how vanilla does it? Use IWorldWriter/World (can't remember which) .playSound() and .add/spawnParticle().
September 4, 20205 yr Author 31 minutes ago, vemerion said: Stuff like this can be easily found both in the vanilla Minecraft source code, and on the forge documentation (here is the documentation on sound for example). It will take forever for you to finish your mod if you have to ask a question here for every method you want to use. You should really take some time and learn the features of your IDE. I guess so. 31 minutes ago, poopoodice said: Have you try to look around the forum or see how vanilla does it? Use IWorldWriter/World (can't remember which) .playSound() and .add/spawnParticle(). I guess I'll look around the forum first before posting my own question.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.