Update to Minecraft 1.21

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2024-06-14 01:05:00 +10:00
parent 7c6204e1a9
commit eed041d629
255 changed files with 3585 additions and 3261 deletions

View File

@@ -31,8 +31,8 @@ public enum CraftStatistic {
LEAVE_GAME(StatisticList.LEAVE_GAME),
JUMP(StatisticList.JUMP),
DROP_COUNT(StatisticList.DROP),
DROP(new MinecraftKey("dropped")),
PICKUP(new MinecraftKey("picked_up")),
DROP(MinecraftKey.withDefaultNamespace("dropped")),
PICKUP(MinecraftKey.withDefaultNamespace("picked_up")),
PLAY_ONE_MINUTE(StatisticList.PLAY_TIME),
TOTAL_WORLD_TIME(StatisticList.TOTAL_WORLD_TIME),
WALK_ONE_CM(StatisticList.WALK_ONE_CM),
@@ -49,12 +49,12 @@ public enum CraftStatistic {
SPRINT_ONE_CM(StatisticList.SPRINT_ONE_CM),
CROUCH_ONE_CM(StatisticList.CROUCH_ONE_CM),
AVIATE_ONE_CM(StatisticList.AVIATE_ONE_CM),
MINE_BLOCK(new MinecraftKey("mined")),
USE_ITEM(new MinecraftKey("used")),
BREAK_ITEM(new MinecraftKey("broken")),
CRAFT_ITEM(new MinecraftKey("crafted")),
KILL_ENTITY(new MinecraftKey("killed")),
ENTITY_KILLED_BY(new MinecraftKey("killed_by")),
MINE_BLOCK(MinecraftKey.withDefaultNamespace("mined")),
USE_ITEM(MinecraftKey.withDefaultNamespace("used")),
BREAK_ITEM(MinecraftKey.withDefaultNamespace("broken")),
CRAFT_ITEM(MinecraftKey.withDefaultNamespace("crafted")),
KILL_ENTITY(MinecraftKey.withDefaultNamespace("killed")),
ENTITY_KILLED_BY(MinecraftKey.withDefaultNamespace("killed_by")),
TIME_SINCE_DEATH(StatisticList.TIME_SINCE_DEATH),
TALKED_TO_VILLAGER(StatisticList.TALKED_TO_VILLAGER),
TRADED_WITH_VILLAGER(StatisticList.TRADED_WITH_VILLAGER),