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.

TheFakeMarkTwain

Members
  • Joined

  • Last visited

  1. All no...it's really perplexing. I've tried each difficulty setting and then just running around the world looking, but it's only near the spawn. I'm using forge 11.14.3.1450.
  2. I'll update MCP in a sec, here's the entity code. It's pretty barebones right now:
  3. So I changed the registry to this: int id = 600; EntityRegistry.registerModEntity(EntityMimic.class, "rpgMimic", BrightRPG.ENTITY_MIMIC_ID, BrightRPG.instance, 80, 3, true); EntityRegistry.addSpawn(EntityMimic.class, 85, 3, 7, EnumCreatureType.CREATURE, BiomeGenBase.desert, BiomeGenBase.beach, BiomeGenBase.birchForest, BiomeGenBase.birchForestHills, BiomeGenBase.desertHills, BiomeGenBase.extremeHills, BiomeGenBase.extremeHillsEdge, BiomeGenBase.extremeHillsPlus, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.jungleEdge, BiomeGenBase.jungleHills, BiomeGenBase.mesa, BiomeGenBase.mesaPlateau, BiomeGenBase.mesaPlateau_F, BiomeGenBase.plains, BiomeGenBase.river, BiomeGenBase.roofedForest, BiomeGenBase.savanna, BiomeGenBase.savannaPlateau); EntityList.idToClassMapping.put(id, EntityMimic.class); EntityList.entityEggs.put(id, new EntityEggInfo(id, 113213, 3523523)); id++; I did some more experimenting and it seems that they'll just despawn as soon as I look away. I also can't find the onInitialSpawn method in EntityMob, EntityCreature, EntityLiving or EntityLivingBase.
  4. Here it is: @Override public boolean getCanSpawnHere() { return this.worldObj.getDifficulty() != EnumDifficulty.PEACEFUL; } I changed the frequency to 3 and they still would only spawn near the world entrance. Also, why is 205 taken? When I changed it to a final int, I set it at 400, nothing spawned at all.
  5. Hey, I've got this weird issue where my mob won't spawn outside in the world, and only near the player's entry point to the world. Spawn/Entity code (located in init method)
  6. Yes, I know what an NPE is lol It's confusing to me because I have checks to make sure everything is referenced properly. I'll try your idea as soon as I can, #FamilyVacation
  7. I did indeed good sir, it's actually my common proxy doubling as a GUI handler and located in my init method: NetworkRegistry.INSTANCE.registerGuiHandler(this, new CommonProxy());
  8. Hi, I made a double furnace in an older version of MCF and now I'm updating it, however, I get an "unexpected error" (null pointer) when the onBlockActivated() method is called. Help? BlockSmelter TileEntitySmelter GuiHandler ContainerSmelter Error Message

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.