Jump to content

larsgerrits

Members
  • Posts

    3462
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by larsgerrits

  1. Post the console log and related code. Without it we can't do anything.
  2. Disabled the loading screen as described in the EAQ. This should fix the not being able to run Minecraft. To build your mod, run gradlew build from the command line, the sam way you setup you workspace.
  3. 1.7.10 is no longer supported by Forge.
  4. For your own blocks: override getDrops . For other mods/Minecraft's blocks: use the HarvestDrops event.
  5. This is the EAQ, which is not modding related.
  6. Disable the loading screen as described in the EAQ.
  7. This topic has been moved to Off-topic. [iurl]http://www.minecraftforge.net/forum/index.php?topic=43935.0[/iurl]
  8. This topic has been moved to Support & Bug Reports. [iurl]http://www.minecraftforge.net/forum/index.php?topic=43933.0[/iurl]
  9. 1.7.10 is no longer supported by Forge.
  10. 1.7.10 is no longer supported by Forge.
  11. Post the log inside [nobbc] [/nobbc], or make pastebin and post the link here.
  12. You use an Iterable in a for/foreach loop. It will loop through every BlockPos in the cuboid you specified.
  13. You should add the ".png" extension to the String passed in setBackgroundImageName method, as it doesn't get added automatically.
  14. Best thing is to store the UUID of the player. You can get the UUID from a player using Entity#getUniqueID() . To save it to NBT, save the getLeastSignificantBits() and getMostSignificantBits result ( longs ). To recreate the UUID , use the constructor that accepts 2 longs (the most and least significant bits) which you saved to NBT.
  15. The Minecraft By Example from TheGreyGhost has a Block that has the camouflage parts you want: https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample/mbe04_block_dynamic_block_model1
  16. 1.7.10 is no longer supported by Forge.
  17. I don't know what you copied in your list, but it looks like HTML to me. Please post a proper gist or Pastebin link, with the proper content.
  18. Instead of checking for duplicates when reading the values, check for duplicated when adding them to the List . There's List<T>#contains(T) which returns true if T is already in the List<T> .
  19. It's used in GuiContainerCreative : this.mc.getTextureManager().bindTexture(new ResourceLocation("textures/gui/container/creative_inventory/tab_" + creativetabs.getBackgroundImageName())); There's no domain specified, meaning it's looking in the minecraft domain.
  20. Well, every TileEntity has a getPos() method which you can use.
  21. Use the BlockEvent.PlaceEvent to check if the Blocks below are melon blocks, then remove those and spawn a golem. Look at BlockPumpkin#trySpawnGolem for how vanilla is doing it.
  22. Instead of Slot , use SlotItemHandler .
×
×
  • Create New...

Important Information

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