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.

HowBoutNo

Members
  • Joined

  • Last visited

  1. Ah, wasn't aware of this method. Thank you!
  2. Moving forward, GlobalEntityTypeAttributes.put() is being deprecated in favor of the EntityAttributeCreationEvent. However, my mobs use config values for attributes like max health and the new event fires before the configs are loaded, which causes all the attributes to use their default values. I found EntityAttributeModificationEvent but even that fires before configs. Is there any way to do this with the new event?
  3. HowBoutNo changed their profile photo
  4. I'm trying to make it so my mob only spawns in groups of one, using the code below event.getSpawns().withSpawner(EntityClassification.WATER_CREATURE, new MobSpawnInfo.Spawners(ModEntityTypes.KRAKEN.get(), OutvotedConfig.COMMON.ratekraken.get(), 1, 1)); However the maxcount is completely ignored, and it's very rare for the mob to only spawn in a group of 1, it usually does it in 2 or more. This happens for both normal creatures and water creatures. The same applies to mincount in this code event.getSpawns().withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.BLAZE, OutvotedConfig.COMMON.rateblaze.get(), 3, 4)); Where there should be a minimum group of 3, but I've seen blazes spawn in groups of only 1 or 2. Am I just not understanding how biome spawns work?

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.