-
Posts
592 -
Joined
-
Last visited
Everything posted by Eternaldoom
-
Have a look at https://github.com/Eternaldoom/Realms-of-Chaos/blob/master/com/eternaldoom/realmsofchaos/items/ItemROCBow.java
-
[1.7.10] Check if icon of two items is the same
Eternaldoom replied to ipsq's topic in Modder Support
Yes they can if you use MCPC+/Cauldron. What are you trying to do that requires comparing icon names? Would unlocalized names work instead? -
[1.7.10] Check if icon of two items is the same
Eternaldoom replied to ipsq's topic in Modder Support
Isn't getUnlocalizedName() public? And why are you worried about bukkit compatibility? -
Scale it in the prerendercallback method.
-
Mac Installation Issues (Disclaimer: First Post!)
Eternaldoom replied to bbqd's topic in Modder Support
Type these 2 commands and see if it works: ./gradlew setupDecompWorkspace ./gradlew eclipse -
Mac Installation Issues (Disclaimer: First Post!)
Eternaldoom replied to bbqd's topic in Modder Support
Did you cd to the Forge directory? Are you typing ./gradlew setupDecompWorkspace, or just gradlew setupDecompWorkspace? -
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!
-
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.
-
gradlew setupDecompWorkspace still works. Or at least it's supposed to.
-
Post the class where you register your block.
-
Recommended or latest MC forge for developing?
Eternaldoom replied to ClarmonkGaming's topic in Modder Support
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. -
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().
-
Did you set it to the same texture as the one for the model? If so, what are its dimensions?
-
[SOLVED] ForgeGradle - Build failed with an exception
Eternaldoom replied to Boofel's topic in Modder Support
Beta OS -
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.
-
[SOLVED] ForgeGradle - Build failed with an exception
Eternaldoom replied to Boofel's topic in Modder Support
Are you using some kind of beta software or anything that might be unsupported? -
[Solved] Naturally Spawning Custom Crops
Eternaldoom replied to Glorfindel22's topic in Modder Support
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. -
[SOLVED] ForgeGradle - Build failed with an exception
Eternaldoom replied to Boofel's topic in Modder Support
What command args did you use? -
When you register your entity, add two hex color params to the function and it will add a spawn egg with those colors.
-
Try using gradlew setupDecompWorkspace, and then gradlew eclipse.
-
[1.7.10] Rotate an Item's texture in inventory?
Eternaldoom replied to Eternaldoom's topic in Modder Support
Never mind I got it to work by messing with vertices.