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.

Grazen

Members
  • Joined

  • Last visited

  1. Still didn't really manage to make progress.. Can anybody help?
  2. Thanks, I was trying to make it work, thought I would do something like this. @EventHandler public void init(FMLInitializationEvent event) { MinecraftForge.EVENT_BUS.register(new MySpawnEventHandler()); EntityRegistry.removeSpawn(EntityZombie.class, EnumCreatureType.MONSTER); EntityRegistry.removeSpawn(EntitySkeleton.class, EnumCreatureType.MONSTER); EntityRegistry.removeSpawn(EntitySpider.class, EnumCreatureType.MONSTER); EntityRegistry.removeSpawn(EntityEnderman.class, EnumCreatureType.MONSTER); EntityRegistry.removeSpawn(EntitySlime.class, EnumCreatureType.MONSTER); EntityRegistry.addSpawn(EntityZombie.class, 100, 100, 100, EnumCreatureType.MONSTER); } But it doesn't seem to be working and I don't really know what I'm doing wrong to be honest. I thought it made sense to call these methods in the init method since they are static anyway, does that make sense? I'd make a seperate method if it worked of course.
  3. Hello, I'm very new to forge and got stuck on something that I thought would be rather simple. I wanted to change the spawnrate of certain vanilla entities (mobs), and change the limit of the max amount of entities that can be spawned. I've been looking a lot at the forge code, and documentation, but failed to figure it out. A nudge in the right direction would be highly appreciated.

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.