Everything posted by JavaMatrix
-
[1.7.10] Modify a ToolMaterial after Registration
In this case you should use a Material as the second-to-last argument, not a float, since you are setting a Material variable.
-
[SOLVED] Stop Nether Portal From Opening
Details please?
-
[SOLVED] Stop Nether Portal From Opening
Shouldn't overriding Blocks.portal with my own block work? Like Blocks.portal = new BlockFakePortal()
-
[SOLVED] Stop Nether Portal From Opening
Best reply on any forum so far! Thanks so much TGG.
-
[1.7.10] Modify a ToolMaterial after Registration
Glad to be of service.
-
Slash not detected by render engine
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.
-
[SOLVED] Stop Nether Portal From Opening
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.
-
[SOLVED] Custom GUI not opening
Did you register your GUIHandler? I can't seem to find the class for the GUIHandler.
-
how to build an item that can dynamically change its texture?
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
-
[1.7.10] Modify a ToolMaterial after Registration
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.
-
Slash not detected by render engine
a) Are you sure it's the same line? b) Can we see the CreepTech.proxy.bindTexture function?
-
[SOLVED] Stop Nether Portal From Opening
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
-
[1.7.2] Animating a texture of a custom renderd block
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 ] } }
-
[1.7.2] Animating a texture of a custom renderd block
Well, it's a ".mcmeta" file, not a ".mcmetta" file, if that helps.
-
[1.7.2] Making a Custom Rendered Block Flammable
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).
IPS spam blocked by CleanTalk.