Everything posted by GotoLink
-
[1.7.2] Armor problems
Typo in registerIcon, missing semicolon. Reference.modid + "wolveMask"
-
[1.6.4]Infinite NBT Write Loop
Your tags are inconsistent too: "MinerEnderChest" in PlayerMED load "MinerEnderItems" in InventoryMinerEC save
-
[1.6.4]Infinite NBT Write Loop
@Override public void saveNBTData(NBTTagCompound compound) { NBTTagCompound nbt = new NBTTagCompound(); nbt.setTag(EXT_MEC, this.IMEC.saveInventoryToNBT()); } You are not saving the data to the NBT here.
-
[SOLVED] Adding VOIP to minecraft, is SIP needed?
You are simply in an area out of Minecraft. It is up to you to find what feels best working with. When I think of voices in Minecraft, i imagine generating on the fly player sounds as resources so that they are loaded into Minecraft sound system like sound effects. But i may be a bit optimistic.
-
[1.7.2] .jar Mod Crashes
Nothing wrong in that build log. You still have special characters in the path (forge-1.7.2-10.12.0.1023-src) but I am out of ideas, actually.
-
[1.7.2] [Unsolved] How to create a coremod in 1.7.2? (modify vanilla classes)
The same as in 1.6.X.
-
1.7.4 editing existing classes
Extend GuiMainMenu. If something you want to change isn't accessible, use reflection or an access transformer. Done.
-
[1.6.4] - .setBlock problem
Eclipse is right about the error, but you are taking the wrong fix. You should listen to it and learn what "static" means. It is basic Java, you need to understand that.
-
[1.6.4]GuiMainMenu question
All that method is doing is add some button to the button list. You can add or remove buttons from this list without that method.
-
[Solved] Where are the texture files?
There is a resources folder by default. It isn't for the looks of it, you know...
-
Ticking Entity crash
Try without this Minecraft.getMinecraft().theWorld.playAuxSFX(2001, p_149670_2_, p_149670_3_, p_149670_4_, Block.func_149682_b(Minecraft.getMinecraft().theWorld.func_147439_a(p_149670_2_, p_149670_3_, p_149670_4_)) + (Minecraft.getMinecraft().theWorld.getBlockMetadata(p_149670_2_, p_149670_3_, p_149670_4_) << 12));
-
Create Mob From a Block Formation?
In the BlockPumpkin class.
-
How to use AccessTransformer in Forge 10.x
Where is the jar with your manifest ? It should be in eclipse/mods by default. You can also change the run configuration to load the "loadingplugin" directly.
-
Chunk dependencies rather than chunk loaders
You can use the ChunkUnloadEvent, I assume. Check that the chunk is in a group, if(all chunks in this group are in the "waiting unload" list) { unload the group} else {add the chunk to the "waiting unload" list}.
-
Tile Entity On an Item
You don't need the TileEntity at all. The vanilla furnace use a TileEntity since it is a Block. But an Item doesn't need a TileEntity to work. You can store all the extra data in its ItemStack NBTTagCompound.
-
[1.6.4] Weapons only hurting certain mobs
You can cancel the LivingHurtEvent, for example.
-
[1.7.2] .jar Mod Crashes
Do you have the manifest within the meta-inf folder ?
-
[1.7.2] .jar Mod Crashes
Try removing the dots in the jar name. They might conflict with the jar loading.
-
[Solved]Set Block Durring an Event?!
I am surprised that didn't crash. You are not using the method correctly.
-
Texture sheet
You can use BufferedImage, DynamicTexture...depends on what you are trying to do.
-
[1.5.2]A mod tried to open a gui on the server without being a network mod
You are trying to find a TileEntity where the player is located. That is rather unlikely. You need to give the correct TileEntity coordinates to the "openGui" method.
-
Need "{" after ";"?
Can't read the code you posted. It looks like you use same events twice, which isn't good. And you should register things at the FMLPreInitializationEvent.
-
[1.6.4]Decompiling Thaumcraft
Java compiler does type erasure. It was probably ArrayList<ItemStack> in the original code.
-
[1.6.4] RESOLVED Java.lang.OutOfMemoryError after registering a custom block
Most common fix for that: stop replacing the air block with a solid block. In other words; don't use id 0.
-
[1.6.4] - Using Chunk loading to trigger if-loop
This looks like a job for... IWorldGenerator.
IPS spam blocked by CleanTalk.