Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

-2 Poor

About Zio

  • Rank
    Tree Puncher


  • Gender
  • Personal Text
    I am new!
  1. Hello everyone! I found a very simple solution to this problem that has bothered me too. In the class "ItemRender.java" in method "updateEquippedItem()" is an assignment to a variable named flag flag = this.equippedItemSlot == entityclientplayermp.inventory.currentItem && itemstack == this.itemToRender; To solve this problem, just replace that line with this boolean flag; if(itemstack == null) { flag = this.equippedItemSlot == entityclientplayermp.inventory.currentItem && itemstack == this.itemToRender; } else { flag = this.equippedItemSlot == entityclientpla
  2. Hi all, I have created a mod with a 3D model that I created in Techne. Then I added this 3D model to my mod, with this code: MinecraftForgeClient.registerItemRenderer(Gun.itemID, new ItemRenderP90()); This code works when I launch the client, but when I launch the server, I get this error: cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient at cpw.mods.fml.common.LoadController.transition(LoadController.java:147) at cpw.mods.fml.common.Loader.loadMods(Loader.java:515) at cpw.mods.fml.server.FMLServerHandler.
  3. Hello, I want to create a mod with some automatic guns with ammo, I created a 3D model for the mod, but now I don't know how I can do the code for the ammo/gun. Thanks!
  4. How I add a new parameter (as username, password, version, assetIndex, assetsDir...) in the client?
  5. I need it because I have a custom client with a server and if that login system doesn't exist, all the player can enter in the server with any account.
  6. The real problem is: I have a custom launcher modified by me with a custom login database made by me. The launcher start a custom client that is made for enter in a server. The launcher is open source and if a player modify the source and toggle the password option can enter in any account. So I thinked: this launcher create a txt file with the password and when the player enters the server the client take the password and execute the "/login pass". I do this because so much people don't know how tu use "/register pass pass" and "/login pass" commands. There are other solutions?
  7. If I use "Minecraft.getMinecraft().thePlayer.sendChatMessage()" in multiplayer, I get this crash: ---- Minecraft Crash Report ---- // Daisy, daisy... Time: 30/09/14 18.46 Description: Ticking screen java.lang.NullPointerException: Ticking screen at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:110) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:247) at net.minecraft.client.multiplayer.GuiConnecting.updateScreen(GuiConnecting.java:116) at net.minecraft.client.Minecraft.runTick(Minecraft.java:1751) at net.minecraf
  8. I don't host the server. The server is in a remote host, and the host don't have a .minecraft folder. A minecraft server don't have a .minecraft folder.
  9. I need to execute the command with the content of the txt file.
  10. I need to take the contents of a txt file in .minecraft folder and use it in Java. The event must be client-side.
  11. package mods.Gunscraft; import java.awt.AWTException; import java.awt.Robot; import java.awt.event.KeyEvent; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.FileInputStream; import java.io.InputStreamReader; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiChat; import net.minecraft.client.gui.GuiOptions; import net.minecraft.client.gui.ScreenChatOptions; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.server.MinecraftServer; import net.minecraftforge.client.event.ClientChatReceivedEvent; import net.minecraftforge.c
  12. I'm new in Java and in Minecraft modding. This is good? "PlayerEvent pe = new PlayerEvent(player);"
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.