Started by
angel_mp4
on
Topic category: Help with modding (Java Edition)
How can I make a dimension that is always daytime, and doesn't spawn any mobs, even in places without light, like caves?
Edited by angel_mp4 on Sun, 09/24/2023 - 17:55
For your first question with making it always day, you will need to lock the code for your dimension and then open the dimension_type > DIMENSION_ID.json add in a line for "fixed_time": and then your number. The number would be the same number as in they /timeset command in the base game - https://imgur.com/SIpd2YY
For your second question, there shouldn't be any entities spawning in your dimension by default, you get full control of what spawns in your dimension. Under the biome creation, there is an option for entity spawning, and you can just clear that list out.
If you are experiencing issues with mobs still spawning, you can create a blank procedure with the "Entity Spawns" trigger,
You can also create some further "if" conditions before de-spawning, like "if entity = hostile mob" do "de-spawn"
Thanks, you're amazing <3
No problem! Happy to help :)