Jump to content

Ghaz-ranka

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by Ghaz-ranka

  1. I am currently have rotation issues when holding an item and when boots are worn. When I hold an item the right arm of the armor does not rotate even though I have proper child code for the arms and when the boots are worn the right arm animation for holding an item activates. No boots on Boots on No boots ~ holding an item Below is my source code: https://github.com/G1R-Productions/g1rwarcraft EDIT(Fixed): If anyone is getting a similar issue this is how I fixed it: I changed: armorModel.heldItemRight = ((EntityPlayer) entityLiving).getCurrentArmor(0) != null ? 1 :0; to: armorModel.heldItemRight = entityLiving.getEquipmentInSlot(0) != null ? 1 :0; EDIT 2: When right clicking with a weapon the model rotates strangely... Seems to be an issue with if(entityLiving instanceof EntityPlayer){ armorModel.aimedBow =((EntityPlayer)entityLiving).getItemInUseDuration() > 2; } It is using that line even though the tool is not a bow.
  2. Using this code for rendering them item in 3d in the inventory the icon is blank. case INVENTORY: GL11.glPushMatrix(); Minecraft.getMinecraft().renderEngine.bindTexture(new ResourceLocation( "grwarcraft:/sword1.png")); GL11.glRotatef(0.0F, 0.0f, 0.0f, 0.0f); GL11.glRotatef(0.0F, 0.0f, 0.0f, 0.0f); GL11.glTranslatef(0.0F, 0.0F, 0.0F); GL11.glPopMatrix(); break; Using this code it says it cannot be resolved to a variable. @Override public boolean handleRenderType(ItemStack item, ItemRenderType type) { return (type == ENTITY || type == EQUIPPED || type == EQUIPPED_FIRST_PERSON); } I also have an icon registered with the item: item3dtool = new GRItems().setTextureName("grwarcraft:/sword1").setUnlocalizedName("3dtool"); GameRegistry.registerItem(item3dtool, "3dtool");
  3. Could you possibly give an example? I have tried both and the texture is an invisible texture in the inventory. (I am rather new to modding I have only being modding for about 2.5 weeks.)
  4. I have followed a couple tutorials and managed to get a 3D item to render in game but the issue I am having is that it has no icon and I am having trouble figuring out exactly how to fix this. Below is my source code: https://github.com/G1R-Productions/g1rwarcraft If anyone could help with this issue it would be most appreciated.
  5. It is an issue because large worlds being backed up no matter the amount of times is an issue. And how do you define external mods, or scripts?
  6. What about adding a config option to disable the backup feature in a future update. Why force people with large worlds to waste huge amounts of space by making it impossible to avoid the backup process.
  7. There is nothing special going on in the log, it says that the backup has been confirmed then lists the missing items from the mods and does it thing. 5-10 minutes later it shows the same message again and the backup cancels and starts again.
  8. I have an issue dealing with the backup feature when a mod is removed from the server. My map is roughly 20gb and when I remove a mod it goes through its backup cycle but this causes 2 issues: 1) Forge assumes after a certain amount of time the backup failed and starts a new backup leaving a partially complete roughly 7gb backup file. 2) I see no option on disabling this feature in the config files How would I go about disabling it because this makes it impossible to start my server up and it wastes huge amounts of space by filling the HDD with partially completed backup files until the server is force closed.
  9. There is no log file because it doesn't start up long enough for anything to be outputted.
  10. Minecraft automatically closes when starting up with forge 1.6.2. This is the load up of the game before it closes: http://pastebin.com/KqXExfMQ No mods are being used except for forge.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.