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

HoBoS_TaCo

Forge Modder
  • Posts

    140
  • Joined

  • Last visited

Everything posted by HoBoS_TaCo

  1. updateTick() is client-side only; it says so in the annotations. You can just use your chests tile entity onUpdate() instead if it's a custom tile entity. I've been using TileEntityChest, it looks like adding a custom tile entity will do the trick. Thanks to both of you.
  2. I've been trying to get my chest to regenerate items for a while and i'm having a problem. I have the generation code completed but I can figure out how to run the block's onUpdate() method on every tick. Is there a way to get every instance of the block's onUpdate() to run every tick or should I look in a different direction? If anyone can point me in the right direction it'll be appreciated.
  3. Why would Forge include it if it wasn't necessary?
  4. If I were you I would use: EntityRegistry.registerGlobalEntityID(EntityDigimob.class, "EntityDigimob", EntityRegistry.findGlobalUniqueEntityId(), 1, 2); //Last 2 digits are spawn egg colours, remove them if you don't want spawn eggs. EntityRegistry.addSpawn(EntityDigimob.class, 25, 1, 1, EnumCreatureType.creature, WorldType.base12Biomes);
  5. Try VillagerRegistry.addExtraVillageComponents(ArrayList components, Random random, int i)
  6. Read the first point in Over-Excessively Asked Questions: Read me before posting! Yes, that means YOU!
  7. Run the reobfuscate.sh (or .bat) to create the needed class files.
  8. Why doesn't someone just make a mod that adds ores that all mods could use? Otherwise you could just use Universal (Ultimate? U something) Electricity, it adds a few.
  9. I know and I use github as well for the detail. I was just pointing this out.
  10. The latest build shown on the forge changelog is one behind the changelog version. For example log #399 shows the changes for #398.
  11. private static final ItemStack defaultHeldItem = new ItemStack(Item.swordStone, 1); @Override public ItemStack getHeldItem() { return defaultHeldItem; }
  12. Did you set it to render the arrow like you would render mobs?
  13. You can find the error in capitals in the middle of your log. Did you even read it?
  14. You could use a tick handler and render up the buttons when the correct GuiScreen is shown.
  15. I had a mess around with it, also with DummyContainer, and didn't have much luck. Ahh. Do you have any ideas on how I would include the metadata in the code anyway?
  16. I'm not sure if this has been asked before but i'm curious to why mcmod.info files are needed in mods when it would be more convenient to code it directly into the mod?
  17. Register the entity with: EntityRegistry.registerGlobalEntityID(Class <? extends Entity > entityClass, String entityName, int id, int backgroundEggColour, int foregroundEggColour)
  18. To run shell files on a mac you use: cd <folder with .sh files> then bash <shell file> It should look something like this: cd /Users/Bob/Minecraft/mcp72 bash install.sh
  19. Don't forget the line 2012-11-18 23:08:46 [sTDOUT] A CRITICAL PROBLEM OCCURED INITIALIZING MINECRAFT - LIKELY YOU HAVE AN INCORRECT VERSION FOR THIS FML Did you even read the error log?
  20. For some reason my entities spawn fine on the client but on a server they don't spawn properly. On my servers they spawn normally in a small radius around the spawn but as I move away they stop spawning. I register my entities with: EntityRegistry.addSpawn(EntityZombieDayZ.class, 200, 1, 4, EnumCreatureType.creature, DayZ.dayzForest, DayZ.dayzPlains, DayZ.dayzRiver); Anyone have an idea why this is occurring?
  21. With the use of NBT tags and metadata there should be a way to do it on generation. What exactly is the mod supposed to do and what properties are randomly generated?
×
×
  • Create New...

Important Information

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