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.

JavaMatrix

Members
  • Joined

  • Last visited

Everything posted by JavaMatrix

  1. In this case you should use a Material as the second-to-last argument, not a float, since you are setting a Material variable.
  2. Shouldn't overriding Blocks.portal with my own block work? Like Blocks.portal = new BlockFakePortal()
  3. Best reply on any forum so far! Thanks so much TGG.
  4. Any reason for not using Minecraft.getMinecraft().renderEngine.bindTexture(texture); instead of the old client texture manager? Don't think that's causing your problem, but I think it's worth a try.
  5. Should have clarified, this is Forge 1.7.10. The PlayerInteractEvent (or PlaceEvent with fire) works just fine - as long as the player directly lights the portal. However, if they were to say, light a block of wood on fire inside a portal frame, it doesn't help much.
  6. Did you register your GUIHandler? I can't seem to find the class for the GUIHandler.
  7. Poke around in the Vanilla map code. You should be able to access it via Eclipse. Or look at the Lexica Botania: https://github.com/Vazkii/Botania
  8. Reflection, my friend. http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/2151027-1-7-x-using-reflection-to-modify-vanilla-values They don't necessarily have to be Vanilla values.
  9. a) Are you sure it's the same line? b) Can we see the CreepTech.proxy.bindTexture function?
  10. Hello, I'm new. For my WIP Mod, SnowTech, I need to be able to stop Nether Portals from opening, no matter what tricks the player tries. I've poked about, but I can't seem to find the code responsible for Nether Portals opening (I tried Fire, Flint+Steel, and Obsidian classes), nor can I seem to find a hook for this. If you guys know of a way to do this, that would be great. Thanks, JavaMatrix
  11. Maybe this will help. This is from fire_layer_0.png.mcmeta. { "animation": { "frames": [ 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ] } }
  12. Well, it's a ".mcmeta" file, not a ".mcmetta" file, if that helps.
  13. In your constructor: Blocks.fire.setFireInfo(this, 5, 20); 5 is the encouragement value, 20 is the flammability (these are the values for wooden planks).

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.