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");
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....
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^^
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!!!!
{
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...
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.