kohlkopf: type: world events: on player right clicks coarse_dirt with:kohlkopf_samen: - define location - take item:kohlkopf_samen quantity:1 - spawn armor_stand[visible=false] <[location].add[0.5,-0.2,0.5]> save:kohlkopf_1 - define kohlkopf_eins - flag <[kohlkopf_eins]> kohlkopf_eins:++ - equip <[kohlkopf_eins]> head:kohlkopf1 - adjust <[kohlkopf_eins]> gravity:false - wait 2 - define kohlda1 <[kohlkopf_eins].location.find_entities[entity_flagged:kohlkopf_eins].within[2]> - chunkload <[location]> duration:1s - if !<[kohlda1].is_empty>: - remove <[kohlkopf_eins]> - spawn armor_stand[visible=false] <[location].add[0.5,-0.2,0.5]> save:kohlkopf_2 - define kohlkopf_zwei - flag <[kohlkopf_zwei]> kohlkopf_zwei:++ - equip <[kohlkopf_zwei]> head:kohlkopf2 - adjust <[kohlkopf_zwei]> gravity:false - wait 2 - define kohlda2 <[kohlkopf_zwei].location.find_entities[entity_flagged:kohlkopf_zwei].within[2]> - chunkload <[location]> duration:1s - if !<[kohlda2].is_empty>: - remove <[kohlkopf_zwei]> - spawn armor_stand[visible=false] <[location].add[0.5,-0.2,0.5]> save:kohlkopf_3 - define kohlkopf_drei - flag <[kohlkopf_drei]> kohlkopf_drei:++ - equip <[kohlkopf_drei]> head:kohlkopf3 - adjust <[kohlkopf_drei]> gravity:false on player right clicks entity_flagged:kohlkopf_drei: - define kohl_loc - remove - drop <[kohl_loc].add[0,1,0]> kohlkopf_samen quantity:1 - ~discordmessage id:gemmeria channel:1112652558020907038 " hat Kohlkopf geerntet bei: <[kohl_loc].formatted>" - random: - drop <[kohl_loc].add[0,1,0]> kohl quantity:1 - drop <[kohl_loc].add[0,1,0]> kohl quantity:2