How I can change sheep drops aka wool?

Started by Fyazy on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How I can change sheep drops aka wool?

When I tried to change the drop from the sheep, the wool still fell out, that is, it continued to fall from the sheep if I kill it, how can I change the drop of wool so that instead of a block there is a ball of wool? (the thing is that I want to make a mod inspired by TerraFirmaCraft mod and the Sevtech: Ages modpack, especially the modpack)

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok certain thing is, to make…
Wed, 09/11/2024 - 14:21

Ok certain thing is, to make the wool ball drop, you'll do a procedure with trigger "entity dies", and then check if entity is (sub)type of sheep. then make it so that when that condition is true, it'll spawn the dropped item of wool ball.

 

You could make a procedure that instantly despawns the wool when it drops, just see if there's something in the triggers that can fit this.

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oo thank you, also do i need…
Wed, 09/11/2024 - 15:24

Oo thank you, also do i need to make many colors of wool ball as separate item or i can do something to have many items with identical id?

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Very sketchy for the…
Thu, 09/12/2024 - 14:15

Very sketchy for the different ID thing, I never did it but I know there is a special tab when creating an item, where you can define an item's texture changes, but I don't think that would work if you want to make them randomized. 

Browse the plugins, there should be a plugin (if I remember right) that can do this texture randomizing. 

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I meant identical ID thing…
Thu, 09/12/2024 - 14:15

I meant identical ID thing sorry

 

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ty again
Fri, 09/13/2024 - 07:46

ty again

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just use itemstates for the…
Sat, 09/14/2024 - 17:01

Just use itemstates for the different wools, to determine what one is spawned make an nbt number tag which is a random integer between 1 and the number of types. Then make each type correspond to a different nbt number.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In itemstates create a…
Sat, 09/14/2024 - 17:03

In itemstates create a custom property called colour or something. Then create all your different states for each colour where the property value is colour = number, etc

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I had figured that NBT tags…
Mon, 09/16/2024 - 12:32

I had figured that NBT tags could have been the way, but this method doesn't work for me. Maybe I'm doing something wrong.