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.

FieldGeneral

Members
  • Joined

  • Last visited

  1. Use package fieldgeneral.example.entity.monster; public EntityYourMob(World world) { super(world); this.tasks.addTask(TASKID, new AI(this)); } I would go in order and have taskid be 1, 2, 3, and soforth Replace AI with your AI Class All of this would go in the EntityYOURMOB class
  2. You have to create a basemod class and use fml Pre Initialization, Initialization, and Post Initialization Events to Register and Load your blocks, mobs, biomes, items, etc.
  3. I think it's called Ambient, not for sure though
  4. Fixed it by using EntityRegistry .addSpawn(EntityAncientzombie.class, 5, 1, 3, EnumCreatureType.monster, BiomeGenBase.BIOMENAME); for each biome, tedious but works
  5. Changing EntityRegistry.addSpawn(EntityAncientzombie.class, 5, 1, 3, EnumCreatureType.monster, BiomeGenBase.biomelist); to EntityRegistry.addSpawn(EntityAncientzombie.class, 5, 1, 3, EnumCreatureType.monster, BiomeGenBase.desert); fixes the problem, but i want it to be able to spawn in all biomes, except the nether or end
  6. Any idea on how i would fix this
  7. Whenever I run my mod it crashes and points to the line of code: I have added a mob to the game and this is it's spawn method I don't know how to fix it

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.