Blocks.lava.getLightValue() : (item != Items.blaze_rod && item != Items.blaze_powder ? (item == Items.glowstone_dust ?8: (item == Items.prismarine_crystals ?8: (item == Items.magma_cream ?8: (item == Items.nether_star? Blocks.beacon.getLightValue() /2:0))) :10); } } n...
event.getHandlers().unregister(this);elseif(event.getItem() !=null&& event.getItem().getType() == Material.NETHER_STAR)this.openGui(event.getPlayer(),newGuiSelectTeam()); } 开发者ID:SamaGames,项目名称:SurvivalAPI,代码行数:13,代码来源:SurvivalTeamSelector.java 示例3: onPlayerInteract ▲点...