SonPlaying Posted September 4, 2020 Posted September 4, 2020 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? Quote
vemerion Posted September 4, 2020 Posted September 4, 2020 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. 1 Quote
poopoodice Posted September 4, 2020 Posted September 4, 2020 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(). 1 Quote
SonPlaying Posted September 4, 2020 Author Posted September 4, 2020 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. Quote
Recommended Posts
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.