Jump to content

D3_M0N

Members
  • Posts

    24
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

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

D3_M0N's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hi, ive a problem: iam trying to use a plugin method in my forge mod. the plugin is my own and calls an custom event that i use in my other plugins... the mod throws an class not fount exception even if i use pluginmanager.getplugin to call it.... has someone an idea how i can fix it? PluginManager pm = Bukkit.getServer().getPluginManager(); ForgeEventCompat fec = (ForgeEventCompat) pm.getPlugin("ForgeEventCompat");
  2. ok ive got it to do what i want:-) the next problem is i need something that does this with it. check if .getSaturationLevel() is 19 wait a few seconds add 1 check if .getSaturationLevel() is 18 wait a few seconds add 1 i try to slow down the time the SaturationLevel decrease....
  3. public void addStats(int p_75122_1_, float p_75122_2_) thats my problem
  4. ok now ive got something my hunger is now stuck @20 can someone tell me what is the int and float of that player.getFoodStats().addStats(3, 10F);
  5. yea ive locked there. i dont know what event ive to use..... im stuck on this for like 4 hrs now.........
  6. hi again, i need to know how i can slow down the hunger of a player.... ive tryed a few methodes from the internet but nothing works..... has some one any ideas^^
  7. ive tried this in my bow class @SideOnly(Side.CLIENT) @SubscribeEvent public void onUpdateFOV(FOVUpdateEvent event) { float fov = event.fov; if( event.entity.isUsingItem() && event.entity.getItemInUse().getItem() == ItemVars.Bow1 ) { int duration = event.entity.getItemInUseDuration(); float multiplier = duration / 10.0F; if( multiplier > 1.0F ) { multiplier = 1.0F; } else { multiplier *= multiplier; } fov *= 1.0F - multiplier * 0.8F; } event.newfov = fov; } hmmmm wont work^^
  8. Hi, i need ot know how i get my custom bow to change the players FOV. i tryed some code but its to old to work with 1.7.10.
  9. Heyho i need a little bit help.. again^^ how can i get this to work: public boolean hitEntity(ItemStack p_77644_1_, EntityLivingBase p_77644_2_, EntityLivingBase p_77644_3_, EntityPlayer entityplayer, Entity p_71059_1_) { p_77644_1_.damageItem(1, p_77644_3_); boolean flag = entityplayer.fallDistance > 0.0F && !entityplayer.onGround && !entityplayer.isOnLadder() && !entityplayer.isInWater() && !entityplayer.isPotionActive(Potion.blindness) && entityplayer.ridingEntity == null && p_71059_1_ instanceof EntityLivingBase; if(flag) { do this here!!!! {
  10. hmmm ive found another problem this works with 1 arrow and its only removing 1 arrow from my workbench on crafting GameRegistry.addShapelessRecipe(new ItemStack(SkyPvP.fireArrow1, , new ItemStack(Items.arrow,16), new ItemStack(Items.potionitem,1,16419)); i want it to take 16 arrows...
  11. thx for the reply:-) i got it now... the potion item ids are so fu.. up there are false potions in the game....... ive installed NIE to check this-.-
  12. nvm ive the wrong ids... has someone a 1.7 id list for potions?
  13. Hi, im back again with another stupid question^^ how can i add a splash potion to my recipe? new ItemStack(Items.potionitem,1,16387)); does not work..... it seems thats 16387 is not the right id........ btw normal potions do work.
×
×
  • Create New...

Important Information

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