Jump to content

Eternaldoom

Forge Modder
  • Posts

    592
  • Joined

  • Last visited

Everything posted by Eternaldoom

  1. Have a look at https://github.com/Eternaldoom/Realms-of-Chaos/blob/master/com/eternaldoom/realmsofchaos/items/ItemROCBow.java
  2. Yes they can if you use MCPC+/Cauldron. What are you trying to do that requires comparing icon names? Would unlocalized names work instead?
  3. Isn't getUnlocalizedName() public? And why are you worried about bukkit compatibility?
  4. Scale it in the prerendercallback method.
  5. Type these 2 commands and see if it works: ./gradlew setupDecompWorkspace ./gradlew eclipse
  6. Did you cd to the Forge directory? Are you typing ./gradlew setupDecompWorkspace, or just gradlew setupDecompWorkspace?
  7. Hi, I have have been trying to setup an avatar for my forum profile, but I can't get it to work. Nothing happens when I try to link to an external URL and "upload image" gives an error. My image is 64x64. Any idea what could be causing the problem? Thanks!
  8. Make 2 textures, one for the techne model, and a 16x16 normal block texture that will show up as the particles. Sort of like how chests display oak wood particles when they are broken.
  9. gradlew setupDecompWorkspace still works. Or at least it's supposed to.
  10. Post the class where you register your block.
  11. I tend to use the latest version. You should use the latest version unless it contains a bug which interferes with your mod, but this has only ever happened to me once.
  12. That won't work. Try this: @SubscribeEvent public void glassDrop(BreakEvent evt){ if (evt.block == Blocks.glass){ EntityItem item = new EntityItem(evt.world, evt.x, evt.y, evt.z, new ItemStack(Item.getItemFromBlock(Blocks.glass))); EntityPlayer player = evt.getPlayer(); if(!player.capabilities.isCreativeMode) evt.world.spawnEntityInWorld(item); } } That just spawns a glass item entity when a glass block is broken. Unfortunately, it would drop 2 items when broken with Silk Touch. There is probably a way to fix that with player.getHeldItem().
  13. Did you set it to the same texture as the one for the model? If so, what are its dimensions?
  14. Found the problem. Your modid is thephysician2000sfurnituremod, but your assets directory is thephysician2000sfurniture. Rename the directory to thephysician2000sfurnituremod, or change your modid to thephysician2000sfurniture.
  15. There is a PlayerTickEvent for ticking players, by the way.
  16. Nested for loops are for loops inside of other for loops.
  17. It doesn't look like there is a villager trading event. There my be some kind of interact event for when the villager is right clicked though. It is possible to add villager trades.
  18. Are you using some kind of beta software or anything that might be unsupported?
  19. Make a class that implements IWorldGenerator. In the generate() method, include a switch statement for world.provider.dimensionId. There are plenty of tutorials for this online. In your overworld generation method, just follow an ore generation tutorial, but instead of WorldGenMinable, use WorldGenFlowers.
  20. What command args did you use?
  21. When you register your entity, add two hex color params to the function and it will add a spawn egg with those colors.
  22. Try using gradlew setupDecompWorkspace, and then gradlew eclipse.
  23. Never mind I got it to work by messing with vertices.
×
×
  • Create New...

Important Information

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