mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-12 08:41:00 -05:00
Update to MC 1.9.2
This commit is contained in:
parent
5cf9a9f895
commit
c133281224
4 changed files with 5 additions and 2 deletions
|
@ -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";
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue