Jump to content

EscapeMC

Forge Modder
  • Posts

    337
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    My Eclipse Window on either Mac or Windows (Depending on what I am doing)
  • Personal Text
    Willing To Help If I Can!!!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

EscapeMC's Achievements

Diamond Finder

Diamond Finder (5/8)

9

Reputation

  1. Yes i do, I want the armor to disappear along with the player. So is what I have (sort of) correct? Or what exactly need I do to get this? adding mc = new Minecraft(); gives an error, and I am really not sure on what to do. Really, what is the needed plan for me to be able to get the player and the armor invisible.
  2. No, I wish to change the model of the armor while the player is wearing it. So, maybe from all black to all white. No crafting changes, just changing the model. Also one more question, I am trying to use the variable Minecraft in a method, and whenever I put it inside of my method (onItemRightClick), it gives me the error of "The method onItemRightClick(ItemStack, World, EntityPlayer, EnumHand, Minecraft) of type Bell must override or implement a supertype method" How would I solve this, without removing the @Override annotation? Or would I just not be able to do that, as i am not making a custom method? EDIT: Fixed that part. Never mind it. I have this @Override public ActionResult<ItemStack> onItemRightClick(ItemStack itemStackIn, World worldIn, EntityPlayer playerIn, EnumHand hand) { if(playerIn.inventory.armorItemInSlot(3) != null && playerIn.inventory.armorItemInSlot(3).getItem() == ModItems.wraithHelmet && playerIn.inventory.armorItemInSlot(2) != null && playerIn.inventory.armorItemInSlot(2).getItem() == ModItems.wraithChestplate && playerIn.inventory.armorItemInSlot(1) != null && playerIn.inventory.armorItemInSlot(1).getItem() == ModItems.wraithLeggings && playerIn.inventory.armorItemInSlot(0) != null && playerIn.inventory.armorItemInSlot(0).getItem() == ModItems.wraithBoots) { // playerIn.addPotionEffect(new PotionEffect(Potion.getPotionFromResourceLocation("invisibility"), 1000, 1)); if(isVis = false) { isVis = true; }else if(isVis = true) { isVis = false; }else{ System.out.println("Failed to Vis"); } itemStackIn.damageItem(1, playerIn); } changeVis(mc); return new ActionResult<ItemStack>(EnumActionResult.SUCCESS, itemStackIn); } public void changeVis(Minecraft mc) { if(isVis = true) { mc.thePlayer.setInvisible(false); System.out.println(isVis); System.out.println("Should be False"); }else if(isVis = false){ mc.thePlayer.setInvisible(true); System.out.println(isVis); System.out.println("Should be True"); } if(mc.thePlayer.capabilities.disableDamage = false) { mc.thePlayer.capabilities.disableDamage = true; }else if(mc.thePlayer.capabilities.disableDamage = true) { mc.thePlayer.capabilities.disableDamage = false; } and when I right click this item I get the crash of
  3. Anyone Please? I really want to get this.
  4. This would be an issue for the mod devs, not here. Plus not to mention that your server is running Cauldren
  5. Hello! First off, if you refuse to help me due to this request being in 1.10.2, I understand. I really shouldn't be asking about this version but I like this version and do not wish to move up as packs I am making are in this version. Now, if you're still around, thank you! What I am trying to do is make a set of armor that has a texture, but then on a key-bind give you a potion effect and also change the armor texture. So, my question is: How would I make a set of armor and an item, that upon wearing the full set, holding an item, and right-clicking the item, would change the armor model and give the potion effect, until the item is right-clicked again, in which it would turn off the potion effect and revert the armor model back to its original? If you need any clarification as of what I mean, please ask as that may be a bit confusing. Lastly, two things. One, no I am not asking you to spoon-feed me this information. Maybe a reference to keybindings and testing for all armor on an item would be great, or maybe instructions on how to do this specific task. Two, thanks to all who read this far and are willing to help me!
  6. Alright, so smite me if you must, but I am making somewhat of a hacked client! Now, I am trying for an xray module, so I figured I could come here anyway. But, if you wish for me not to, just tell me to not ask about this stuff here! So, I have the whole module, but the only thing is the block brightness. Anyone know how I can make it so that the blocks appear to be super bright (at least see-able) and not just black blocks, no difference unless there is light touching the blocks directly? Thanks if you can help, and if you need more info, just ask, please!
  7. If I am correct, this is due to your internet connection. I have been on good internet (aka, unblocked) and bad internet (aka, school internet) I get the weirdest errors on bad internet, and I have seen this (a very similar error at least) on the bad internet. Sorry to say this, but ya. Internet problems, ugh! There are so many domains too for all of the modding stuff (git, maven, etc) that I could never pinpoint them all that I needed to give to my school to unblock for the internet. Good luck in your search in solving this error!
  8. What exactly are you looking for your "moving parts" to do? Are you just having a changing texture or what, moving arms?
  9. Look at your transferStackInSlot and mergeItemStack. If you'd like, you can look to my Git for Thing's Mod. I use a right clickable chest-like item thing, and you can reference the transferStackInSlot and mergeItemStack. Ask if you need more help.
  10. Well, we don't have access to all of your code. Care to post any of it so we can actually help you?
  11. First of all, please don't just post complete solutions without any explanation besides "do this". It helps nobody. Apart from that, you are unnecessarily wrapping everything in ItemStacks. Thank you diesieben07 for your help, and yah, I agree, someone just giving you the code doesn't help anyone. I've solved my problem now.
  12. preInit. Oh, I use my smelting and crafting recipes in the init. Sorry
  13. Nothing yet, I'm not sure where to start. Question, have you even tried looking at the error that the code might give you? Have you tried to run the game once? You have a log from a crash?
  14. If you want example code for an ore, look in my signature for my GitHub on TeamMadness Mod, I made many ores there.
  15. If you're looking to have a block that when destroyed it drops itself, do nothing. If you want this "Copper Ore" to drop "Copper Ingot" when destroyed, use this.getItemDropped(state, rand, fortune) in the block class itself. Is that right diesieben07? If you want a smelting recipe, you need to use GameRegistry.addSmelting in the init.
×
×
  • Create New...

Important Information

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