Jump to content

SanAndreaP

Forge Modder
  • Posts

    1689
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by SanAndreaP

  1. fireBlack_Layer0.png fireBlack_layer_0.png.mcmeta Watch your capitalization. Also you have an additional underscore before your 0/1
  2. You need a custom IItemRenderer implementation for your model in order to render it inside the inventory. Here an example: https://github.com/SanAndreasP/EnderStuffPlus/blob/master/java/de/sanandrew/mods/enderstuffp/client/render/ItemRendererWeatherAltar.java To register it, simply do: MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(superWorkbench), new ItemRendererSuperWorkbench());
  3. Why do you do GameRegistry.xyz(); at one time and the line below you do net.minecraftforge.fml.common.registry.GameRegistry.abc() ? Maybe your inports are broken? Otherwise after a quick testing it works for me...
  4. What launcher are you using? Logs?
  5. Nobody said it's impossible to add your custom cape, but capes are Mojang territory and should only be used / given away by Mojang (Minecon capes etc.). Anyway, try to use the RenderPlayerEvent.Specials.Pre instead of the RenderPlayerEvent.Pre event, as that is usually fired when the cape/item renerer is.
  6. Use 1.7.10.
  7. Show your seed and MItems classes.
  8. Eclipse doesn't have write-access to the bin folder. To fix this, don't put the forge folder within the "Program Files" folders (or any other system folders for that matter), because programs accessing it need either admin priviledges or you need to give them write-access. PS: Most programs put their stuff there because they usually have an installer which sets the write access for the application automatically.
  9. Is there a method in 1.8 called world.getTopSolidOrLiquidBlock ? Also your method was probably not removed, but now has an MCP name "func_xxxxx_x".
  10. Looking at the OpenMods website, there is this note: So yeah, remove OpenMods and wait for a 1.7 release.
  11. 1. We will help you when we have an answer, you don't have to beg for help in big bold text. 2. That's not the full log. Post the content of the fml-client-latest.log file (inside .minecraft/logs ) 3. Please use a pastebin site like http://gist.github.com to post your logs. It helps to not clutter the thread with walls of text.
  12. Don't you mean server-side?
  13. It only translates your renderer to the XYZ coordinates when the direction is 2, 3, 4 or 5. Add a default case ( an } else {) and apply the "standard" translation.
  14. Uhm... no? Example: http://minecraft.gamepedia.com/Fence_Gate#Block_states Wasn't the whole purpose of BlockStates combining Block ID and metadata to one number to prevent wasting space on blocks w/o metadata usage?
  15. Your renderer is broken, it's always rendering it at the player coordinates (that's what's causing it to "spawn" on your head) In your renderRocket() method you need to translate ( glTranslatef ) by the first 3 coordinates. Here are the "correct" parameter names for the doRender() method: https://github.com/SanAndreasP/ClaySoldiersMod/blob/master/java/de/sanandrew/mods/claysoldiers/client/render/entity/RenderClayMan.java#L39
  16. You should use the TileEntitys writeTo/readFromNBT methods, which return void. I dunno why it's implemented there like that. You only need to override the methods declared in the interface you're implementing from the API (here it is IEnergyStorage)
  17. How about having your users create a resource pack if they wanna change the mob name? lang files are just another resource like textures are.
  18. TileEntity. The RF-API even has an example on how to implement it: https://github.com/CoFH/CoFHLib/blob/master/src/main/java/cofh/api/energy/EnergyStorage.java
  19. Can you talk english like everybody else here, so we can read what you're babbling about? This is not a french forum...
  20. You need to check if the item held is null, If the hands are empty -> held item is null
  21. Can I see the latest log and the Constants class? (Please use http://gist.github.com or any other pastebin)
  22. Changing the ToolMaterials values won't get you much, because: 1. they're final, you need some reflection black magic to actually change the value (removing the final modifier of maxUses and set the value) 2. Your mod gets initialized after the vanilla stuff, so even if you edit the value, the max damage of the items was already set using the original value (I've tried it) So if you really need to change the golds max uses, I suggest you go either coremod and change the value of the material before any items get initialized or change the tool materials value as well as all the items max damage values.
  23. markDirty
  24. player#getCurrentEquippedItem() Also your KeyBindings are purely client-side, just as a note, so you have to send packets when trying to change something on the server. This also means that your KeyBindings.init(); method should be called in your client proxy.
  25. You're still using setBlockBoundsBasedOnState... Also use http://gist.github.com to post your code, it's 1. far more readable and 2. doesn't clutter the thread.
×
×
  • Create New...

Important Information

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