diff --git a/src/main/java/org/spacehq/mc/protocol/MinecraftConstants.java b/src/main/java/org/spacehq/mc/protocol/MinecraftConstants.java index e3b8b65c..ed521fe0 100644 --- a/src/main/java/org/spacehq/mc/protocol/MinecraftConstants.java +++ b/src/main/java/org/spacehq/mc/protocol/MinecraftConstants.java @@ -2,8 +2,8 @@ package org.spacehq.mc.protocol; public class MinecraftConstants { // General Constants - public static final String GAME_VERSION = "1.9"; - public static final int PROTOCOL_VERSION = 107; + public static final String GAME_VERSION = "1.9.2"; + public static final int PROTOCOL_VERSION = 109; // General Key Constants public static final String PROFILE_KEY = "profile"; diff --git a/src/main/java/org/spacehq/mc/protocol/data/MagicValues.java b/src/main/java/org/spacehq/mc/protocol/data/MagicValues.java index 22eaa801..8772ab0e 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/MagicValues.java +++ b/src/main/java/org/spacehq/mc/protocol/data/MagicValues.java @@ -93,6 +93,7 @@ public class MagicValues { register(AttributeType.ATTACK_DAMAGE, "generic.attackDamage"); register(AttributeType.ATTACK_SPEED, "generic.attackSpeed"); register(AttributeType.ARMOR, "generic.armor"); + register(AttributeType.ARMOR_TOUGHNESS, "generic.armorToughness"); register(AttributeType.LUCK, "generic.luck"); register(AttributeType.HORSE_JUMP_STRENGTH, "horse.jumpStrength"); register(AttributeType.ZOMBIE_SPAWN_REINFORCEMENTS_CHANCE, "zombie.spawnReinforcements"); diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/AttributeType.java b/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/AttributeType.java index 451e1a9b..2d04a4a2 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/AttributeType.java +++ b/src/main/java/org/spacehq/mc/protocol/data/game/entity/attribute/AttributeType.java @@ -9,6 +9,7 @@ public enum AttributeType { ATTACK_DAMAGE(2, 0, 2048), ATTACK_SPEED(4, 0, 1024), ARMOR(0, 0, 30), + ARMOR_TOUGHNESS(0, 0, 20), LUCK(0, -1024, 1024), HORSE_JUMP_STRENGTH(0.7, 0, 2), ZOMBIE_SPAWN_REINFORCEMENTS_CHANCE(0, 0, 1); diff --git a/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/BuiltinSound.java b/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/BuiltinSound.java index ec1cac1b..575191e8 100644 --- a/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/BuiltinSound.java +++ b/src/main/java/org/spacehq/mc/protocol/data/game/world/sound/BuiltinSound.java @@ -416,6 +416,7 @@ public enum BuiltinSound implements Sound { ITEM_BUCKET_FILL, ITEM_BUCKET_FILL_LAVA, ITEM_CHORUS_FRUIT_TELEPORT, + ITEM_ELYTRA_FLYING, ITEM_FIRECHARGE_USE, ITEM_FLINTANDSTEEL_USE, ITEM_HOE_TILL,