(SOLVED) How can I make a dimension that is always daytime, doesn't spawn any histile mobs?

Started by joao.mp14 on

Topic category: Help with modding (Java Edition)

Last seen on 14:54, 24. Dec 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(SOLVED) How can I make a dimension that is always daytime, doesn't spawn any histile mobs?
Sun, 09/24/2023 - 17:55 (edited)

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 joao.mp14 on Sun, 09/24/2023 - 17:55
Last seen on 05:10, 3. Dec 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For your first question with…
Sat, 09/23/2023 - 00:15

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

Last seen on 05:10, 3. Dec 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For your second question,…
Sat, 09/23/2023 - 00:20

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, 

 

if [ID (event/target entity) is in = your DIMENSION ID] do despawn [event/target entity]

 

You can also create some further "if" conditions before de-spawning, like "if entity = hostile mob" do "de-spawn"

Last seen on 14:54, 24. Dec 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, you're amazing <3
Sat, 09/23/2023 - 13:21

Thanks, you're amazing <3

Last seen on 05:10, 3. Dec 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No problem! Happy to help :)
Sat, 09/23/2023 - 14:57

No problem! Happy to help :)