Everything posted by coolboy4531
-
[1.7.2] Block not appearing in CreativeTabs.tabBlock
Why don't you remake your block. public static Block testBlock; @EventHandler public void preInit(FMLPreInitializationEvent event) { testBlock = new Block(//stuff).setUnlocalizedName("testBlock"); } ids? ...
-
Forge Events and @ForgeSubscribe Annotation in 1.7.2
Wrong event bus. ItemCraftedEvent is an FML event, you need to use FMLCommonHandler. EDIT: Sigh. Diesieben replied already. lol
-
Problem with ResourceLocation loading
Sorry, people need to have so time of their own I'm really not sure what to do. 1.7 has taken over my clear mind of 1.6.
-
Rideable Mobs Help [1.6.2]
Not what I was pointing out, I was pointing where var4.getAIControlledByPlayer() its an AI.
-
Forge Events and @ForgeSubscribe Annotation in 1.7.2
@SubscribeEvent - changed in 1.7 [ForgeGradle]
-
Problem with ResourceLocation loading
I suppose you are using 1.6 am I correct?
-
Problem with ResourceLocation loading
Where did you put your files? And do not call the people who are helping you nitpicks, or we won't help you at all. Oh yay, finally. (-1 Karma) from you of course. We are such assholes.
-
[1.7.2] addRecipe
"A"? Seriously? Are you trying to make the item be craftable wherever you want to place it in? Kind of like iron block to 9 ingots (i suppose that is what you are trying to do)? Yeah, you need to get more familiar to MinecraftForge methods / Minecraft methods If you are you need to change the method you are using to this. GameRegistry.addShapelessRecipe(new ItemStack(FreshPower.getItem("fp_ingotFreshSteel"), 9), new Object[] {FreshPower.getBlock("fp_storageFreshSteel")});
-
Rideable Mobs Help [1.6.2]
*hours later* I actually found how a Pig gets controlled by the player. You don't look in EntityPig, you look at ItemCarrotOnAStick And. This... is what I found. public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { if (par3EntityPlayer.isRiding() && par3EntityPlayer.ridingEntity instanceof EntityPig) { EntityPig var4 = (EntityPig)par3EntityPlayer.ridingEntity; if (var4.getAIControlledByPlayer().isControlledByPlayer() && par1ItemStack.getMaxDamage() - par1ItemStack.getItemDamage() >= 7) { var4.getAIControlledByPlayer().boostSpeed(); par1ItemStack.damageItem(7, par3EntityPlayer); if (par1ItemStack.stackSize == 0) { ItemStack var5 = new ItemStack(Item.fishingRod); var5.setTagCompound(par1ItemStack.stackTagCompound); return var5; } } } return par1ItemStack; }
-
Problem with ResourceLocation loading
Dude, this is Minecraft modding... There are different paths in Minecraft... you are using ResourceLocation (not made by Oracle) You need to understand the how Minecraft loads its files. file:file = file/file file:/file = file//file
-
Problem with ResourceLocation loading
What exactly is the problem, then?
-
[1.6.4]Custom weapon sizes
Not that I know of, no vanilla Minecraft items are different in size.
-
[1.7.2] addRecipe
I don't mean put "","","" as in the recipe. What do you want your recipe to be? For instance a diamond pickaxe is: "AAA" " B " " B " Where A is diamond, and B is sticks. The reason yours is putting an infinite amount of your items is because you put the recipe as blank. Show me your code, also please just in case it's actually not your fault lol
-
[1.6.4]Custom Tnt
Ah, you're right. I've heard of people have this problem. *looks in history* Yeah, I got it. Can you please show me your Entity class?
-
[1.7.2] addRecipe
Are you trying to create a shapeless recipe? GameRegistry.addRecipe(new ItemStack(FreshPower.getItem("fp_ingotFreshSteel"), 9), new Object[] {"A", 'A',FreshPower.getBlock("fp_storageFreshSteel")}); Should have three Strings, "", "", "", not just one.
-
Problem with ResourceLocation loading
Remove the "/" Aka Change: private static final ResourceLocation texture = new ResourceLocation("basic", "/textures/blocks/block_blender.png"); private static final ResourceLocation texture = new ResourceLocation("basic", "textures/blocks/block_blender.png"); Error: 2014-02-10 18:13:47 [WARNING] [Minecraft-Client] Failed to load texture: basic:/textures/blocks/block_blender.png
-
[1.6.4]Custom weapon sizes
You'd need a custom Model and Render class. Try looking at OreSpawn's Big Bertha sword.
-
Written book issues
No idea, I'll try and see what I can help you with. As of now, see if you can fix your own problem with tutorials? lol http://www.youtube.com/watch?v=VEtb1JOHSY8 EDIT: So what are you trying to do? Make the book of lore? - like text under the name?
-
SpawnEgg Names
The same exact thing. Inside your lang file. entity.Guard.name=Guard
-
Mob animations issue
imo, pretty hard to understand. pics pls for noobs like me.
-
[1.6.4]Custom Tnt
I didn't read it in-depth, but I saw something about EntityTNTPrimed instead of your custom one -- in your Render class.
-
Rideable Mobs Help [1.6.2]
http://www.minecraftforum.net/topic/1853936-vikys-advanced-mob-tutorial-house-and-opendoors-tutorial-update152modloader-and-forge/
-
[1.7.2] OreGen help
Either you, or someone else has asked this before already... But either way, you could make the resistance of the block high enough so you can blow the whole terrain with TNT.
-
Give texture to my item?
Just please like I said, read the post and make sure it isn't your mistake before you post
-
Give texture to my item?
You didn't even register your unlocalized name. public static void init() { EspadaDeObsidiana = new ItemSword(ItemInfo.WAND_ID, EnumToolMaterial.EMERALD); } to public static void init() { EspadaDeObsidiana = new ItemSword(ItemInfo.WAND_ID, EnumToolMaterial.EMERALD).setUnlocalizedName("obsidiansword"); } Also getUnlocalizedName() is a void, and does not need parameter String. Change: getUnlocalizedName("swordObsidian").substring(5)); to getUnlocalizedName().substring(5)) It's right in front of you, read the other posts more in-depth before you go into conclusions.
IPS spam blocked by CleanTalk.