How to make creepers drop custom discs

Started by ihavecheesenetman on

Topic category: Help with MCreator software

Active 3 years ago
Joined Jan 2022
Points:
483

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
How to make creepers drop custom discs

I've tried it on many other forums but it didnt seem to work. Here is what i am currently using

i would love some help 

 

cheese

Active 1 year ago
Joined Nov 2021
Points:
566

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 66
Go to C:\Users\…
Fri, 01/21/2022 - 03:36

Go to

C:\Users\<LOCALPCACCOUNTNAME>\MCreatorWorkspaces\<WORKSPACEFOLDER>\build\resources\main(default location).

There you can edit the folder like it's a datapack.

Active 1 year ago
Joined Nov 2021
Points:
566

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 66
You're using tags... those…
Fri, 01/21/2022 - 03:47

You're using tags... those are used for only categorizing items, not for mob drops...

Loot tables are what you're looking for.

Active 3 years ago
Joined Jan 2022
Points:
483

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
ok thank you    
Fri, 01/21/2022 - 04:06

ok thank you

 

 

This will make a pig drop a…
Fri, 01/21/2022 - 06:25

This will make a pig drop a disk when a creeper kills them with an explosion.
You can simply remove the source entity to make any entity that kills it to give a disc too.

all you need is to make a loot table put it under your namespace for your mod and then use the path in the following command block listed below.


loot spawn ~ ~ ~ loot namespace:registry_name

procedure