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

Started by angel_mp4 on

Topic category: Help with Minecraft modding (Java Edition)

Active 7 months ago
Joined Mar 2021
Points:
590

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 25
(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 angel_mp4 on Sun, 09/24/2023 - 17:55
Active 5 months ago
Joined Jun 2023
Points:
251

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 174
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

Active 5 months ago
Joined Jun 2023
Points:
251

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 174
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"

Active 7 months ago
Joined Mar 2021
Points:
590

User statistics:

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

Thanks, you're amazing <3

Active 5 months ago
Joined Jun 2023
Points:
251

User statistics:

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

No problem! Happy to help :)