Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

TreeBek

Members
  • Content Count

    17
  • Joined

  • Last visited

Everything posted by TreeBek

  1. kinda worked but it allowed me to get it working how i want it to. Thanks
  2. So i tried that it still does not work.
  3. Well the best way to learn imo is spending hours trying and failing and then eventually succeeding but if you really need to there are tons of tutorials like. or http://www.youtube.com/channel/UC786-fvOTMkndZPRwr15zVA
  4. Have you made an effort to figure it out by yourself?
  5. Hello I'm trying to get a wand to teleport me to the overworld so as expected when i use it it does teleport me to the overworld; however, it then teleports almost instantly teleports me to the nether and i can not figure out for the life of me why can anyoe explain to me why this happens so that i can fix it? public class ItemTeleWand extends Item{ public ItemTeleWand(int par1) { super(par1); this.setCreativeTab(Common.EnchWoodRPGTab); } public boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8,
  6. SO i added the null check and it no longer crashes which is good but i don't understand how to get ntb to be something other than null that way my switch statement will be executed. Edit* Well i have been working to figure this out and i have gotten ntb to be things other than null but it only enchants the Sword for a couple milliseconds and then goes back to not being enchanted and lets me do the process over again.
  7. So uh i have no idea what you guys are talking about i have a general understanding of java(just started coding a couple of weeks ago) do you think you could explain how this works?
  8. http://www.mediafire.com/view/i2yti9y5svr09az/ALL_MINECRAFT_SOUND_NAMES_BY_OBBOLALINK.txt
  9. It seems to originate in line int counter = nbt.getInteger("EnchantmentCounter"); //returns 0 if tag doesn't exist, which is fine Btw Draco I liked your Phase stone mod i really enjoyed using it.
  10. I get a crash when i right click.
  11. Well it kind works but i can't figure out how to do it to where i can only give it one enchantment this is what i have so far package Harwood; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.enchantment.Enchantment; import net.minecraft.entity.EntityLiving; import net.minecraft.entity.item.EntityEnderPearl; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.EnumAction; import net.minecraft.item.EnumToolMater
  12. Hello i have been trying to get my tools/armor so that when i right click it enchants said tool/armor with an enchantment suitable for that item but no matter how hard i try i can not figure it out can someone help me?
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.