Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • TreeBek

TreeBek

Members
 View Profile  See their activity
  • Content Count

    17
  • Joined

    September 16, 2013
  • Last visited

    September 29, 2013

Community Reputation

0 Neutral

About TreeBek

  • Rank
    Tree Puncher

Converted

  • Gender
    Male
  • Location
    Oklahoma
  • Personal Text
    Im a cat wit armor.
  1. TreeBek

    Teleport wand

    TreeBek replied to TreeBek's topic in Modder Support

    kinda worked but it allowed me to get it working how i want it to. Thanks
    • September 28, 2013
    • 4 replies
  2. TreeBek

    Teleport wand

    TreeBek replied to TreeBek's topic in Modder Support

    So i tried that it still does not work.
    • September 28, 2013
    • 4 replies
  3. TreeBek

    So I've learned Java... How do I learn minecraft?

    TreeBek replied to EliteCreature's topic in Modder Support

    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
    • September 28, 2013
    • 6 replies
  4. TreeBek

    Render a item above a block?

    TreeBek replied to gamer1097's topic in Modder Support

    Have you made an effort to figure it out by yourself?
    • September 28, 2013
    • 11 replies
  5. TreeBek

    Teleport wand

    TreeBek posted a topic in Modder Support

    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, float par9, float par10) { int BlockId = par3World.getBlockId(par4, par5, par6); int PlayerDimension = par2EntityPlayer.dimension; if(BlockId == Blocks.woodlandPlank.blockID && PlayerDimension != 0){ par2EntityPlayer.travelToDimension(0); return true; }else return false; } @SideOnly(Side.CLIENT) public void registerIcons(IconRegister par1IconRegister) { this.itemIcon = par1IconRegister.registerIcon(Common.modid + ":" + this.getUnlocalizedName().substring(5)); } }
    • September 28, 2013
    • 4 replies
  6. TreeBek

    How To Add Kill Counter To A Custom Tool

    TreeBek replied to fierymelon300's topic in Modder Support

    http://thenewboston.org/list.php?cat=31
    • September 22, 2013
    • 13 replies
  7. TreeBek

    Delete item from solt?

    TreeBek replied to Busti's topic in Modder Support

    Can you post your code?
    • September 22, 2013
    • 4 replies
  8. TreeBek

    Right click to Enchant

    TreeBek replied to TreeBek's topic in Modder Support

    Thank you very much!
    • September 18, 2013
    • 15 replies
  9. TreeBek

    Right click to Enchant

    TreeBek replied to TreeBek's topic in Modder Support

    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.
    • September 18, 2013
    • 15 replies
  10. TreeBek

    Right click to Enchant

    TreeBek replied to TreeBek's topic in Modder Support

    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?
    • September 18, 2013
    • 15 replies
  11. TreeBek

    List of Sounds

    TreeBek replied to MistPhizzle's topic in Modder Support

    http://www.mediafire.com/view/i2yti9y5svr09az/ALL_MINECRAFT_SOUND_NAMES_BY_OBBOLALINK.txt
    • September 17, 2013
    • 1 reply
  12. TreeBek

    Right click to Enchant

    TreeBek replied to TreeBek's topic in Modder Support

    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.
    • September 17, 2013
    • 15 replies
  13. TreeBek

    Right click to Enchant

    TreeBek replied to TreeBek's topic in Modder Support

    I get a crash when i right click.
    • September 17, 2013
    • 15 replies
  14. TreeBek

    Right click to Enchant

    TreeBek replied to TreeBek's topic in Modder Support

    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.EnumToolMaterial; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemSword; import net.minecraft.world.World; public class ItemDiamondHarwoodSword extends ItemSword { public ItemDiamondHarwoodSword(int par1, EnumToolMaterial par2EnumToolMaterial) { super(par1, par2EnumToolMaterial); this.setCreativeTab(HarwoodBase.HarwoodMod); } @SideOnly(Side.CLIENT) public void registerIcons(IconRegister par1IconRegister){ this.itemIcon = par1IconRegister.registerIcon(HarwoodBase.modid + ":" + (this.getUnlocalizedName().substring(5))); } public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) { int enchantnum = (itemRand.nextInt(6) + 1); int counter = 0; //debug System.out.println("Enchant num " + enchantnum); System.out.println("Counter num " + counter); //debug if(counter <= 0){ switch(enchantnum){ case 1: {par1ItemStack.addEnchantment(Enchantment.fireAspect, 2);} counter++; break; case 2: {par1ItemStack.addEnchantment(Enchantment.baneOfArthropods, 2);} counter++; break; case 3: {par1ItemStack.addEnchantment(Enchantment.knockback, 2);} counter++; break; case 4: {par1ItemStack.addEnchantment(Enchantment.looting, 2);} counter++; break; case 5: {par1ItemStack.addEnchantment(Enchantment.sharpness, 2);} counter++; break; case 6: {par1ItemStack.addEnchantment(Enchantment.smite, 2);} counter++; break; };counter = 1; } return par1ItemStack; } }
    • September 17, 2013
    • 15 replies
  15. TreeBek

    Right click to Enchant

    TreeBek replied to TreeBek's topic in Modder Support

    Thanks!!!
    • September 17, 2013
    • 15 replies
  • All Activity
  • Home
  • TreeBek
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community