3

I want to script custom behavior for a sponge in a datapack I'm writing, and I also want to remove the default "absorbing" behavior. If I were to type

/datapack disable vanilla

I noticed that sponges would no longer absorb water. I obviously want to keep vanilla enabled, but I'm wondering if it's possible to remove or overwrite the sponge's behavior specifically.

2
  • 1
    WTF? I didn't know sponges stopped absorbing water when the vanilla datapack is disabled. They shouldn't do that. Absorbing water is not handled via functions or tags or anything like that. Jun 26, 2019 at 15:31
  • I thought the vanilla datapack just had loot tables, recipes, and structures, no functions. I wonder if anything else is controlled in the vanilla datapack?
    – Nik3141
    Jun 26, 2019 at 17:01

1 Answer 1

1

This is handled by the "fluid tag" for water, located in a datapack at minecraft/tags/fluids/water.json. A sponge removes everything that gets added to this tag.

So no, you can not change just this one behaviour of sponges without changing many other properties of water.

2
  • can't he(sorry if you are a girl asker of the question) just add his own behavior pack where he removes the "fluid tag" from water and then sponge would have nothing to apply the "absorbing" behavior to?
    – Jafar
    Jun 27, 2019 at 17:31
  • It's not called "behaviour pack". And sure, they could do that, but then water would act like air. Jun 27, 2019 at 21:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .