Quiz sur les Guns Avancés

Average rating : Published by Gravenilvec on June 3rd, 2015
Ceci est un quiz sur les guns avancés

Related quizes

Question 1
Quel condition qui désigne un clic gauche ?

If (e.getAction() == Action.LEFT_CLICK_AIR) {
If (e.getAction() == Action.RIGHT_CLICK_AIR) {
Question 2
Si if (p.hasPotionEffect(PotionEffectType.SLOW)) { alors ?

On ajoute SLOW au joueur ?
On retire SLOW au joueur ?
Question 3
Quel code retire 1 diamant à un joueur ?

P.getInventory().removeItem(new ItemStack(Material.DIAMOND_SWORD));
P.getInventory().removeItem(new ItemStack(Material.DIAMOND, 1));
P.getInventory().clear();
Question 4
Pour ajouter Lenteur III à l'infini on doit écrire :

P.addPotionEffect(new PotionEffect(20, 99999, PotionEffectType.SLOW));
P.addPotionEffect(new PotionEffect(PotionEffectType.SLOW, 2, 99999));
P.addPotionEffect(new PotionEffect(PotionEffectType.SLOW, 99999, 20));
Question 5
Comment vérifier si un joueur a un ou plusieurs diamant(s) dans son inventaire ?

If (p.getInventory().getContents(Material.DIAMOND))
If (p.getInventory().has(Material.DIAMOND))
If (p.getInventory().contains(Material.DIAMOND))

Quiz information

Author : Gravenilvec
Difficulty : Easy
Tags : dev, gravenivec, java, min...(more)
Played :
ShareFavoritesReport
Embed this quiz on your website

Ranking

Average score : %

1.bismark9140 %
2.sbastien20 %
3.
4.
5.
6.
7.
8.
9.
10.

They played it

Communauty

Follow us on Facebook to be updated about the latest good quizes !

More quizes !

3
Category : Mythologie

Comments

    The author deactivated comments on this page.

    Cookies and privacy

    By browsing this website, you accept our cookie and privacy policy explained here.