Jump to content

Riverbanminer

Members
  • Posts

    4
  • Joined

  • Last visited

Riverbanminer's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. yes i did change the signature and realize thats probable the issue. im going to go total noob in modding and i think im going to scrap that chunk of code for the moment and my goal is to check if the player is on the block and if so apply a potion effect to the player so would i use onEntityColideWithBlock() or onEntityWalk()?
  2. sorry still trying to understand java, i used the CTRL + SPACE feature in eclipse to locate the method and i dont know what to say about the signature
  3. 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)); } }
×
×
  • Create New...

Important Information

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