Jump to content

isador34

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by isador34

  1. ^^ Yes I think but I don't find this method, I search during a week
  2. is not for me, I was pay for make this mod.... I do not decide
  3. ho..... But I don't have getTeam("test") method
  4. ok I test with: if(Minecraft.getMinecraft().thePlayer.getTeam() == player.worldObj.getScoreboard().getPlayersTeam("test")) { System.out.println("je suis détecté"); }
  5. thnaks but i have an error: Cannot make a static reference to the non-static method getScoreboard() from the type World Eclipse would change public to public static
  6. Hello all, I have this method: Minecraft.getMinecraft().thePlayer.getTeam() for get player's team instance but I want check in which team the player belongs I would use a simple condition similar at: if(Minecraft.getMinecraft().thePlayer.getTeam() == methodForGetTeam) { } else if(Minecraft.getMinecraft().thePlayer.getTeam() ==methodForGetSecondTeam) { } hoping to have been explicit
  7. yes I know but I watch you that I can call method Minecraft.getMinecraft().thePlayer.equals(ScoreboardPlayerTeam.getPlayersTeam.teamMemberships) this function don't work for get player's team
  8. ((EntityPlayer)entity).addChatMessage("message"); you speak about that?
  9. can you just take me a condition working
  10. I have this method: public Team getTeam() { return this.getWorldScoreboard().getPlayersTeam(this.username); } but how to caught the player team with this method?
  11. sorry I'm bad in english... so I don't know how I can get the player's team
  12. Hello all I have a great request! I make a mod and I need to check player's team who right click on a block. I don't know how to process for make a condition which test if player are in team A or in team B Thanks
×
×
  • Create New...

Important Information

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