Skip 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. Well, the crash is in updateFurnaceState of MagFurnace.java line 116 You have not included that function here.
  2. Without knowing which line is the problem, it's a lot harder to help you.
  3. 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
  4. Yes, yes it is. Standard null check. You too.
  5. if(event.entityPlayer.getHeldItem() == null) Duh
  6. Is ModelBakery a defined variable? (Not declared, defined)
  7. 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).
  8. Then you're going to need to know if there's a wall at XPos, ZPos, XNeg, or ZNeg. world#getBlock
  9. if(world.getBlock(x, y, z) == Blocks.stone && world.getBlock(x, y+1, z) == Blocks.air) ?
  10. 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.
  11. 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.
  12. Eclipse doesn't support Java 8, you'll have to change the JRE back to 7. Window -> Preferences -> Java -> Installed JREs
  13. 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)
  14. 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
  15. If you're sending packets to the server (which you should be) then the one you modify is the one that sent the packet.
  16. 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.
  17. "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
  18. You have a mod for 1.7.2 (or earlier?) installed that is not compatible with 1.7.10
  19. No, you don't. Go away. You're not helping. COG runs absolutely last, and then some. I had to submit a pull request to COG so I could actually run some code after it modified a chunk. AND running "even more later" doesn't even solve the problem; fucking hell. A ∩ B == B ∩ A
  20. YourContainer (InventoryPlayer inventoryPlayer, TileEntityYourTE te) Again, look at this class: https://github.com/Draco18s/Artifacts/blob/master/main/java/com/draco18s/artifacts/inventory/ContainerPedestal.java
  21. You don't have a class that extends Container
  22. Likely because the creature is spawned client side and it is not aware that the event is being canceled server side.

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.