isador34
Members-
Posts
17 -
Joined
-
Last visited
Everything posted by isador34
-
compare player's team instance with team list
isador34 replied to isador34's topic in Modder Support
ok thank for this help -
compare player's team instance with team list
isador34 replied to isador34's topic in Modder Support
how you deduce that is func_96508_e? -
compare player's team instance with team list
isador34 replied to isador34's topic in Modder Support
^^ Yes I think but I don't find this method, I search during a week -
compare player's team instance with team list
isador34 replied to isador34's topic in Modder Support
is not for me, I was pay for make this mod.... I do not decide -
compare player's team instance with team list
isador34 replied to isador34's topic in Modder Support
1.6.4 forge-953 -
compare player's team instance with team list
isador34 replied to isador34's topic in Modder Support
ho..... But I don't have getTeam("test") method -
compare player's team instance with team list
isador34 replied to isador34's topic in Modder Support
ok I test with: if(Minecraft.getMinecraft().thePlayer.getTeam() == player.worldObj.getScoreboard().getPlayersTeam("test")) { System.out.println("je suis détecté"); } -
compare player's team instance with team list
isador34 replied to isador34's topic in Modder Support
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 -
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
-
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
-
((EntityPlayer)entity).addChatMessage("message"); you speak about that?
-
can you just take me a condition working
-
I have this method: public Team getTeam() { return this.getWorldScoreboard().getPlayersTeam(this.username); } but how to caught the player team with this method?
-
sorry I'm bad in english... so I don't know how I can get the player's team
-
EntityPlayer.getTeam()?
-
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