RayTrace082 / untamedwilds

GNU General Public License v3.0
14 stars 11 forks source link

Various land mobs sometime spawn in the water as well with this mod? Also Datapack does not work with this mod? #235

Closed lSherozl closed 1 year ago

lSherozl commented 1 year ago

Why is there a random rhino in the ocean

image
lSherozl commented 1 year ago

I created this straightforward Data pack

image image image

I set the clams and some of these animals to 0 for them to just keep spawning

RayTrace082 commented 1 year ago

Why is there a random rhino in the ocean

It either swam there, or Minecraft decided that a piece of ocean was a tundra

I set the clams and some of these animals to 0 for them to just keep spawning

Delete the entry, setting it to zero doesn't work when there's no other entry "entries": [ ]

lSherozl commented 1 year ago

I am using in control to help me with the over spawning, but please enlighten me since I don't understand the data pack part, I need to delete the word entries? Or are you saying I need to make the JSON start and end with a bracket

lSherozl commented 1 year ago

Why is there a random rhino in the ocean

It either swam there, or Minecraft decided that a piece of ocean was a tundra

I set the clams and some of these animals to 0 for them to just keep spawning

Delete the entry, setting it to zero doesn't work when there's no other entry "entries": [ ]

Dont know what you mean by delete the entery, do you have an example you can give, of how a datapack edit should be like?

RayTrace082 commented 1 year ago

Literally gave you the answer in my comment, here's the answer with the other 3 lines you need to add to the file to be valid

{ "name":"benthos", "entries":[ ] }

lSherozl commented 1 year ago

Literally gave you the answer in my comment, here's the answer with the other 3 lines you need to add to the file to be valid

{ "name":"benthos", "entries":[ ] }

Thanks does 0 do anything when there are other entries or no?

RayTrace082 commented 1 year ago

Never tested it, since deleting the entry does the same thing in a safer way, but an entry weighted as 0 should never get chosen if there's anything else

As said, never tested it, but I'll consider it a bug worth fixing if a 0ed entry still gets chosen