przedmioty = [ {"eq": DIAMOND_SWORD, "liczba": 1}, {"eq": DIAMOND_PICKAXE, "liczba": 1}, {"eq": DIAMOND_BOOTS, "liczba": 1}, {"eq": DIAMOND_LEGGINGS, "liczba": 1}, {"eq": DIAMOND_HELMET, "liczba": 1}, {"eq": DIAMOND_CHESTPLATE, "liczba": 1}, ] def ekwipunek (): player.execute("/clear") for eq in przedmioty: mobs.give(mobs.target(NEAREST_PLAYER), eq["eq"], eq["liczba"])