Update to MC 1.9.2

This commit is contained in:
Final Child 2016-04-03 20:09:47 +09:00
parent 5cf9a9f895
commit c133281224
4 changed files with 5 additions and 2 deletions

View file

@ -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";

View file

@ -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");

View file

@ -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);

View file

@ -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,