Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I have a structure, and sometimes several mobs spawn there. This is a boss and must spawn alone.

Here is the code for spawning entities in the structure

{
  "type": "minecraft:jigsaw",
  "start_pool": "egyptcraft:boss_pyramid/start_pool",
  "size": 5,
  "max_distance_from_center": 80,
  "biomes": "#egyptcraft:has_structure/boss_pyramid",
  "step": "surface_structures",
  "start_height": {
    "absolute": 0
  },
  "project_start_to_heightmap": "WORLD_SURFACE_WG",
  "use_expansion_hack": false,
  "spawn_overrides": {
    "monster": {
      "bounding_box": "full",
      "spawns": [
        {
          "type": "egyptcraft:anubis",
          "maxCount": 1,
          "minCount": 1,
          "weight": 100
        }
      ]
    }
  }
}

Maybe it's something else?

One quick solution I can think of is to slightly light up the structure so regular mobs can't spawn (they only spawn in complete darkness).
Another useful way would be to look at some vanilla structures that doesn't spawn mobs other than the one related to that structure, like the new trial chambers in 1.21 (you can look if there's something particular in the structure json file inside a snapshot jar file) or maybe the end cities (where only Shulkers spawns inside, not even Enderman if I remember correctly)

Don't blame me if i always ask for your help. I just want to learn to be better :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.