Everything posted by Draco18s
-
[1.6.4]Infinite NBT Write Loop
I use a new world less frequently than that. Usually only if I screw up royally. Generally that's any time it crashes on load.
-
[1.6.4]Infinite NBT Write Loop
Sorry I misunderstood yours. I saw code and I saw code that wasn't doing anything useful, so I had to comment on its uselessness.
-
3D Custom Item Model Help
Here's the line that is throwing the error phoenix.render((Entity)data[1], 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0625f); Hmm. Lets see. The only object here is phoenix, lets go see where that's used elsewhere. protected ModelPhoenixBlastereModel phoenix; THAT'S FUNNY, ITS NEVER ASSIGNED A VALUE. LAWL. NO WONDER IT'S NULL!
-
[1.6.4] Bigger Explosions
See that f=16 part? That makes the explosion bigger.
-
[1.6.4]Infinite NBT Write Loop
@Override public void saveNBTData(NBTTagCompound compound) { // here you are creating a new tag NBTTagCompound nbt = new NBTTagCompound(); // and here you save data to the new tag nbt.setTag(EXT_MEC, this.IMEC.saveInventoryToNBT()); //but lets forget to do anything with our variable nbt later // but the tag in the parameter, 'compound', is the tag that will be loaded // you need to save to the tag given by the method parameter: compound.setTag(EXT_MEC, IMEC.saveInventoryToNBT()); //and just duplicate the effort instead! }
-
[1.6.4] Bigger Explosions
Has it occurred to you that you offset your explosion point from where the TNT actually sits?
-
[SOLVED] Adding VOIP to minecraft, is SIP needed?
The latter, probably.
-
1.7.4 editing existing classes
Use the GuiOpenEvent from forge to replace the MainMenu. Which requires copying GuiMainMenu. Which you said you don't want to do.
-
3D Custom Item Model Help
Read your f*ing error. Null pointer at ItemRender line 45. Look at the f*ing code that's there and figure out which object is null. It's really f*ing obvious. (Hint, there's only one object there that is using references to its properties or methods)
-
1.7.4 editing existing classes
That would be the method you're already bitching about.
-
1.7.4 editing existing classes
ASM. Which is even more advanced.
-
[Half-Solved]1.6.4 Forge OBJ Block Texture, and Not Solid
The basic concept applies to 3D volumes in the same way.
-
[1.6.4] - .setBlock problem
World != world
-
[Half-Solved]1.6.4 Forge OBJ Block Texture, and Not Solid
Well then. Research time.
-
[Solved] Where are the texture files?
Your assets is not inside your source directory. I can't see, but there should be a folder called /resources that sits right next to /java inside your /src directory. Assets should be inside that.
-
[Half-Solved]1.6.4 Forge OBJ Block Texture, and Not Solid
Do you know what an AxisAlignedBoundingBox is?
-
[Solved] Where are the texture files?
....Yes. Forge doesn't know what your mod ID is when you start, so it's not going to make the folders for you.
-
FluidTank NBT not saving
@Override public final NBTTagCompound writeToNBT(NBTTagCompound nbt) { NBTTagCompound tankData = new NBTTagCompound(); super.writeToNBT(tankData); this.writeTankToNBT(tankData); nbt.setCompoundTag(this.name, tankData); return nbt; } Woah. Slow down. First, you've unneccessarily duplicated your functions. You shouldn't need the this.writeTankToNBT(tankData); part at all (not to mention that that function is empty and does nothing). Second, you've marked that function as final. You don't need that. In fact, probably shouldn't have it. I have half a mind saying that because you marked it as final, the function signature changed and it's no longer overriding. Though my other half says not. Either way, you don't need it. Third, don't use this.name as a key...you can't be sure that that name won't change between a save and a load...
-
[Half-Solved]1.6.4 Forge OBJ Block Texture, and Not Solid
Open Block.java ctrl-f collision
-
Moving chests
Read the chest, go "oh, a chest," read the chest contents, destroy the chest contents, continue as you're already doing.
-
[Half-Solved]1.6.4 Forge OBJ Block Texture, and Not Solid
Yes. If you know a little programming.
-
[Half-Solved]1.6.4 Forge OBJ Block Texture, and Not Solid
They have fake blocks providing the colliders. When any one of the blocks involved in the multi-tile object are broken, they're all broken.
-
As mobs spawn only in the caves?
Bats already spawn only in caves. It's called world.canBlockSeeSky()
-
[1.5.2]A mod tried to open a gui on the server without being a network mod
floor, ceiling, round...none of those are going to locate a tile entity that encases the player's feet. You should get the location of the tile entity from itself and pass the xyz in the packet.
-
Tile Entity On an Item
TileHandheldFurnace tilehandheld = new TileHandheldFurnace(); Uh. You're going to want to approach this differently.
IPS spam blocked by CleanTalk.