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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. Like this? http://pastebin.com/YuA53cHC And in main: private CrystalManager crystalManager = new CrystalManager(); Then GameRegistry.registerWorldGenerator(crystalManager, 0); . And when I tried this It didnt work in Default world which is what im wanting it to do No, this bit: (new WorldGenMinable(CrystalMod.Aqua_SmallCrystal, maxVeinSize)).generate(world, random, posX, posY, posZ); There's a reason I said "WorldGenMinable" not "IWorldGenerator." WorldGenMinable only replaces stone and has no rules regarding stone/air boundaries. Also what diesieben07 said.
  2. Because they have DIFFERENT BASE ROTATIONS. It had Jack Fucking Squat to do with the rotation POINT, but everything to do with the rotation VALUE. The head and nose use the same values, the leaves DON'T. Also what coolAlias said.
  3. That's not the full log. But that does tell me that MagFurnaceActive.magFurnaceActive is, in fact, null.
  4. Do this for me: if (state) { System.out.println(MagFurnaceActive); System.out.println(MagFurnaceActive.magFurnaceActive); System.out.println(MagFurnaceActive.magFurnaceActive.getTickRandomly()); worldObj.setBlock(xCoord, yCoord, zCoord, MagFurnaceActive.magFurnaceActive); // < --- LINE 116 } else { worldObj.setBlock(xCoord, yCoord, zCoord, MagFurnaceIdle.magFurnaceIdle); } Let me know what it prints out.
  5. You would need a custom WorldGenMinable, or you do it instead of the WorldGenMinable you have inside addOreSpawn
  6. Well, the crash is in updateFurnaceState of MagFurnace.java line 116 You have not included that function here.
  7. Without knowing which line is the problem, it's a lot harder to help you.
  8. setRotation(head, 0F, 0F, 0F); //angle X = 0 setRotation(Leaf1, -2.792527F, 0F, 0.9250245F); //angle X = -2.79, not the same ... this.Leaf1.rotateAngleX = this.head.rotateAngleX; //make them the same
  9. Yes, yes it is. Standard null check. You too.
  10. if(event.entityPlayer.getHeldItem() == null) Duh
  11. Is ModelBakery a defined variable? (Not declared, defined)
  12. AH HA, thus we arrive at your actual problem. I don't think you can do that without a TE involved, because blocks are rendered once, cached, and not updated unless something actually changes (and the player is irrelevant).
  13. Then you're going to need to know if there's a wall at XPos, ZPos, XNeg, or ZNeg. world#getBlock
  14. if(world.getBlock(x, y, z) == Blocks.stone && world.getBlock(x, y+1, z) == Blocks.air) ?
  15. Couple problems: What happens if the player isn't holding anything ( event.entityPlayer.getHeldItem() will be null and you're trying to access it) Secondly, that's not how you compare items. You get the Item from the ItemStack and then compare it to an ItemStack. That will never be true.
  16. IBlockAccess still has getBlock and getBlockMetadata. Point is: If you want to change the rotation to a specific direction, you're going to need to figure out what defines that specific direction yourself. No one else can say "oh just do X" because you're the one who wants something specific based on parameters only you know. If its based on which direction the player was facing when they placed it down you're either going to have to save it in the metadata or use a TileEntity. There are no ifs, ands, or buts about it. The game isn't magic and can't interpret what you say into what you mean unless you are clear and unambiguous.
  17. Eclipse doesn't support Java 8, you'll have to change the JRE back to 7. Window -> Preferences -> Java -> Installed JREs
  18. That's what TNT does. (TNT that explodes as the result of being destroyed by an explosion also gains the owner of the original explosion, conveniently enough)
  19. or use world#scheduleBlockUpdate(...) You will need to call it at the end of your updateTick function (so each tick schedules the next) as well as on blockAddedToWorld
  20. If you're sending packets to the server (which you should be) then the one you modify is the one that sent the packet.
  21. Ok, so using the same test seed I've been playing with before: Default settings, etc. etc: 41% total tick time spent in checkLight Half volume of gas placed in the world: 20% Gas cannot burn or none in world: < 0.1% Player within 32 blocks (not moving): 7% 32 blocks is the same distance at which I scan the area around the player for lava in order to spawn semi-short-lived volcanic fumes.
  22. "The" mod? What about... iChunUtil{2.0.0} [iChunUtil] (util^iChunUtil2.0.0.zip) GraviGun{2.0.0} [GraviGun] (files^GravityGun2.0.0 (1).zip) planetguyLib{1.3} [planetguyLib] (PlanetguyLib-1.3.jar) planetguy_Gizmos{3.0} [Gizmos] (Gizmos-3.2.jar) lucky{5.0.0} [Lucky Block] ([1-7-2]_Lucky_Block_v5-0-0.jar) The first four I ask because the MC version number is not listed and the last one because it still lists 1.7.2

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.