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

Hello,

 

I was wondering if anyone may have some good ideas for further limiting an entity from spawning, as I can't seem to get the desired results that I want. Currently, I can only limit an entity by the probably of it spawning, the number per spawn, the max amount spawned per chunk, and what block they can spawn on.(Courtesy of vanilla methods)

 

What I want to know is, what would be my best bet for making "rare" entities? I'd like to only make a certain entity only spawn once in a biome to be more specific, but the closest I can get to that is to limit to one per chunk.

 

Alternatively, I have tried generating special blocks in different biomes so that they can only spawn from it, but that is a hassle.

 

Thanks for any tips/insight

Hmm... This is an interesting dilema.

I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes.

 

I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there xD

why not calcel spawning usign a handler given a random change

 

its a hack in solution but itll work (aka spawn onyl if Math.random() > 0.9)

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

  • Author

Hmm. The handler may have to do, but I'm going to keep this open just a little longer in case anyone else has some ideas.

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.