Can someone please Explain!! I'm trying to make a block that when you are walking on it gives a jump boost.how do I fix this or do it correctly?
eclipse is giving me this error: The method onEntityWalk(World, BlockPos, EntityLivingBase) of type JumpPad must override or implement a supertype method
@Override
public void onEntityWalk(World worldIn, BlockPos pos, EntityPlayer player) {
// TODO Auto-generated method stub
super.onEntityWalk(worldIn, pos, player);
if(!worldIn.isRemote) {
player.addPotionEffect(new PotionEffect(Potion.getPotionById(8), 200, 4));
}
}