Help with disc features

Started by Miken on

Topic category: Help with modding (Java Edition)

Last seen on 01:00, 23. Aug 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with disc features
Sun, 08/22/2021 - 04:36 (edited)

how do i make it so the farther away you get from a playing jukebox with a custom disc the quieter the music gets until it eventually stops like how the vanilla discs work?

*my file wasnt mono :)

also wanted to know if theres a way to add custom discs to creeper drops when they get killed from a skeleton

Edited by Miken on Sun, 08/22/2021 - 04:36
Last seen on 16:41, 12. Mar 2022
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah there's a way to add…
Sun, 08/22/2021 - 09:45

Yeah there's a way to add custom drops to creepers. You'll need to use loot tables.

First, when you create your loot table, you'll need to modify the  "Loot Table Registery Name"  to the name  "entites/creeper".
Next, you'll change the  "Loot Table Namespace"  to Minecraft. And finally you must change the  "Loot Table Type"  to  "Entity".
And finally for making the disc drop, you'll need to add it in the  "Loot table pool"
(you can also change the percentage of dropping by changing the entity weight)