1 00:00:00,000 --> 00:00:05,020 Code Minecraft soati | Hodisalar 2 00:00:05,020 --> 00:00:10,320 Keyingi bosqichda, siz yoki Steve yoki Alex bo‘lishni tanlay olasiz. 3 00:00:10,320 --> 00:00:16,670 Yuqoriga, pastga, chapga va o‘ngga harakatlanish uchun klaviaturangizdagi yo‘nalishli tugmalarni bosing. 4 00:00:16,670 --> 00:00:20,890 Endi, siz o‘zingiz xohlagan daraja atrofida aylana olasiz. 5 00:00:20,890 --> 00:00:27,340 Biron jonzotdan foydalanish uchun, shunchaki u tomonga yuring, u bilan yuzlashish uchun buriling, spacebarni bosing. 6 00:00:27,340 --> 00:00:34,280 Agar siz sezgir ekrandan foydalanayotgan bo‘lsangiz, atrof bo‘ylab harakatlanish uchun, qo‘lingizni yuqoriga, pastga, chapga va o‘ngga yurg‘izing. 7 00:00:34,280 --> 00:00:38,829 Qarshingizdagi narsadan foydalanish uchun o‘yinga bosing. 8 00:00:38,829 --> 00:00:41,100 Ammo, siz undan foydalanganingizda nima sodir bo‘ldi? 9 00:00:41,100 --> 00:00:46,851 Minecraftda ularning yungini olganingizda qo‘ylar yungini tushiradi, urganingizda sigirlar qochib ketadi, va 10 00:00:46,851 --> 00:00:51,219 sudraluvchilar siz ularga yaqinlashganingizda portlab ketadi. 11 00:00:51,219 --> 00:00:55,440 Hodisalarga (event) rahmat, bu aks ta’sirlar shular tufayli sodir bo‘ladi. 12 00:00:55,440 --> 00:01:00,010 Hodisalar dasturingizga nimadir sodir bo‘lganda eshitish kerakligini aytadi. 13 00:01:00,010 --> 00:01:02,859 Va shunday bo‘lganda, biron harakatni namoyish qiladi. 14 00:01:02,859 --> 00:01:08,340 Shu paytgacha siz bitta hodisadan foydalangansiz. Siz "when spawned" katagiga qo‘ygan kod 15 00:01:08,340 --> 00:01:12,120 jonzotingiz yaratilganda yoki o‘yin boshlanganda ishlaydi. 16 00:01:12,120 --> 00:01:17,780 Keyingi bir nechta bosqichlarda, masalan, siz jonzotga teginganingizda ishlaydigan "when touched", 17 00:01:17,780 --> 00:01:23,060 yoki jonzotdan foydalanganda ishlatiladigan "when used" kabi yangi katakchalarga ega bo‘lasiz. 18 00:01:23,060 --> 00:01:29,820 Yoki siz zombiyingizni quyosh chiqqanda yo‘qolib qolishini xohlasangiz, uni "when day" katagiga joylashtiring.