Mojira Archive
MC-267709

scoreboard ... minecraft.killed:minecraft.villager ... not working

scoreboard ... minecraft.killed:minecraft.villager ... not working

 

When i kill a villager , the score dont go up .

I tested also minecraft.killed:minecraft.pig and minecraft:zombie and both working

I tested it in another world and villager kill counter dont go up , same .

 

I found this error as i make a security check of my datapack in module mouseklick detetion

I wonder about why my mouseklick that was not deteted and so i check so many and than i found it .

 

Now i have removed the security layer of my datapack and no longer check the kill counter. But the counter is not removed in case that this bug is in future finished so i can activate my security level layer.

 

  1. Mausklick erfassen rechtsklick
    execute unless data storage teayo_daten_2 daten.gegenstaende_hand.benutzung_gesperrt as @a[tag=teayo_daten_2_mausklick,scores=\{teayo_daten_2_rechtsklick=1..}] run function teayo_daten_2:inhalt/gegenstaende_hand/gegenstaende_hand_6_spieler_aktion_rechtsklick
    execute if data storage teayo_daten_2 daten.gegenstaende_hand.benutzung_gesperrt as @a[tag=teayo_daten_2_mausklick,scores=\{teayo_daten_2_rechtsklick=1..},tag=teayo_daten_2_benutzen_berechtigung] run function teayo_daten_2:inhalt/gegenstaende_hand/gegenstaende_hand_6_spieler_aktion_rechtsklick
  1. Mausklick erfassen linksklick Dorfbewohner verletzt
    execute unless data storage teayo_daten_2 daten.gegenstaende_hand.benutzung_gesperrt as @a[tag=teayo_daten_2_mausklick,scores=\{teayo_daten_2_linksklick_1=1..}] at @s if entity @e[type=villager,tag=teayo_daten_2,distance=..5,nbt=!\{Health:20.0f}] run function teayo_daten_2:inhalt/gegenstaende_hand/gegenstaende_hand_7_spieler_aktion_linksklick
    execute if data storage teayo_daten_2 daten.gegenstaende_hand.benutzung_gesperrt as @a[tag=teayo_daten_2_mausklick,scores=\{teayo_daten_2_linksklick_1=1..},tag=teayo_daten_2_benutzen_berechtigung] at @s if entity @e[type=villager,tag=teayo_daten_2,distance=..5,nbt=!\{Health:20.0f}] run function teayo_daten_2:inhalt/gegenstaende_hand/gegenstaende_hand_7_spieler_aktion_linksklick
  1. Mausklick erfassen linksklick Dorfbewohner getötet
    execute unless data storage teayo_daten_2 daten.gegenstaende_hand.benutzung_gesperrt as @a[tag=teayo_daten_2_mausklick,scores=\{teayo_daten_2_linksklick_1=1..,teayo_daten_2_linksklick_2=1}] at @s unless entity @e[type=villager,tag=teayo_daten_2,distance=..5] run function teayo_daten_2:inhalt/gegenstaende_hand/gegenstaende_hand_7_spieler_aktion_linksklick
    execute if data storage teayo_daten_2 daten.gegenstaende_hand.benutzung_gesperrt as @a[tag=teayo_daten_2_mausklick,scores=\{teayo_daten_2_linksklick_1=1..,teayo_daten_2_linksklick_2=1},tag=teayo_daten_2_benutzen_berechtigung] at @s unless entity @e[type=villager,tag=teayo_daten_2,distance=..5] run function teayo_daten_2:inhalt/gegenstaende_hand/gegenstaende_hand_7_spieler_aktion_linksklick

 

 

Awaiting Response

-

2024-01-02, 08:28 PM

2024-01-02, 09:35 PM

2024-01-02, 09:35 PM

0

0

Unconfirmed

(Unassigned)

1.20.4

-