Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-20 06:50:08 +01:00
23w08a
Dieser Commit ist enthalten in:
Ursprung
3e2ee37829
Commit
26615a11d3
@ -82,7 +82,7 @@ public class ProtocolVersion {
|
|||||||
public static final ProtocolVersion v1_19 = register(759, "1.19");
|
public static final ProtocolVersion v1_19 = register(759, "1.19");
|
||||||
public static final ProtocolVersion v1_19_1 = register(760, "1.19.1/2", new VersionRange("1.19", 1, 2));
|
public static final ProtocolVersion v1_19_1 = register(760, "1.19.1/2", new VersionRange("1.19", 1, 2));
|
||||||
public static final ProtocolVersion v1_19_3 = register(761, "1.19.3");
|
public static final ProtocolVersion v1_19_3 = register(761, "1.19.3");
|
||||||
public static final ProtocolVersion v1_19_4 = register(762, 119, "1.19.4");
|
public static final ProtocolVersion v1_19_4 = register(762, 120, "1.19.4");
|
||||||
public static final ProtocolVersion unknown = register(-1, "UNKNOWN");
|
public static final ProtocolVersion unknown = register(-1, "UNKNOWN");
|
||||||
|
|
||||||
public static ProtocolVersion register(int version, String name) {
|
public static ProtocolVersion register(int version, String name) {
|
||||||
|
@ -34,103 +34,104 @@ public enum ClientboundPackets1_19_4 implements ClientboundPacketType {
|
|||||||
BLOCK_CHANGE, // 0x0A
|
BLOCK_CHANGE, // 0x0A
|
||||||
BOSSBAR, // 0x0B
|
BOSSBAR, // 0x0B
|
||||||
SERVER_DIFFICULTY, // 0x0C
|
SERVER_DIFFICULTY, // 0x0C
|
||||||
CLEAR_TITLES, // 0x0D
|
CHUNK_BIOMES, // 0x0D
|
||||||
TAB_COMPLETE, // 0x0E
|
CLEAR_TITLES, // 0x0E
|
||||||
DECLARE_COMMANDS, // 0x0F
|
TAB_COMPLETE, // 0x0F
|
||||||
CLOSE_WINDOW, // 0x10
|
DECLARE_COMMANDS, // 0x10
|
||||||
WINDOW_ITEMS, // 0x11
|
CLOSE_WINDOW, // 0x11
|
||||||
WINDOW_PROPERTY, // 0x12
|
WINDOW_ITEMS, // 0x12
|
||||||
SET_SLOT, // 0x13
|
WINDOW_PROPERTY, // 0x13
|
||||||
COOLDOWN, // 0x14
|
SET_SLOT, // 0x14
|
||||||
CUSTOM_CHAT_COMPLETIONS, // 0x15
|
COOLDOWN, // 0x15
|
||||||
PLUGIN_MESSAGE, // 0x16
|
CUSTOM_CHAT_COMPLETIONS, // 0x16
|
||||||
DAMAGE_EVENT, // 0x17
|
PLUGIN_MESSAGE, // 0x17
|
||||||
DELETE_CHAT_MESSAGE, // 0x18
|
DAMAGE_EVENT, // 0x18
|
||||||
DISCONNECT, // 0x19
|
DELETE_CHAT_MESSAGE, // 0x19
|
||||||
DISGUISED_CHAT, // 0x1A
|
DISCONNECT, // 0x1A
|
||||||
ENTITY_STATUS, // 0x1B
|
DISGUISED_CHAT, // 0x1B
|
||||||
EXPLOSION, // 0x1C
|
ENTITY_STATUS, // 0x1C
|
||||||
UNLOAD_CHUNK, // 0x1D
|
EXPLOSION, // 0x1D
|
||||||
GAME_EVENT, // 0x1E
|
UNLOAD_CHUNK, // 0x1E
|
||||||
OPEN_HORSE_WINDOW, // 0x1F
|
GAME_EVENT, // 0x1F
|
||||||
HIT_ANIMATION, // 0x20
|
OPEN_HORSE_WINDOW, // 0x20
|
||||||
WORLD_BORDER_INIT, // 0x21
|
HIT_ANIMATION, // 0x21
|
||||||
KEEP_ALIVE, // 0x22
|
WORLD_BORDER_INIT, // 0x22
|
||||||
CHUNK_DATA, // 0x23
|
KEEP_ALIVE, // 0x23
|
||||||
EFFECT, // 0x24
|
CHUNK_DATA, // 0x24
|
||||||
SPAWN_PARTICLE, // 0x25
|
EFFECT, // 0x25
|
||||||
UPDATE_LIGHT, // 0x26
|
SPAWN_PARTICLE, // 0x26
|
||||||
JOIN_GAME, // 0x27
|
UPDATE_LIGHT, // 0x27
|
||||||
MAP_DATA, // 0x28
|
JOIN_GAME, // 0x28
|
||||||
TRADE_LIST, // 0x29
|
MAP_DATA, // 0x29
|
||||||
ENTITY_POSITION, // 0x2A
|
TRADE_LIST, // 0x2A
|
||||||
ENTITY_POSITION_AND_ROTATION, // 0x2B
|
ENTITY_POSITION, // 0x2B
|
||||||
ENTITY_ROTATION, // 0x2C
|
ENTITY_POSITION_AND_ROTATION, // 0x2C
|
||||||
VEHICLE_MOVE, // 0x2D
|
ENTITY_ROTATION, // 0x2D
|
||||||
OPEN_BOOK, // 0x2E
|
VEHICLE_MOVE, // 0x2E
|
||||||
OPEN_WINDOW, // 0x2F
|
OPEN_BOOK, // 0x2F
|
||||||
OPEN_SIGN_EDITOR, // 0x30
|
OPEN_WINDOW, // 0x30
|
||||||
PING, // 0x31
|
OPEN_SIGN_EDITOR, // 0x31
|
||||||
CRAFT_RECIPE_RESPONSE, // 0x32
|
PING, // 0x32
|
||||||
PLAYER_ABILITIES, // 0x33
|
CRAFT_RECIPE_RESPONSE, // 0x33
|
||||||
PLAYER_CHAT, // 0x34
|
PLAYER_ABILITIES, // 0x34
|
||||||
COMBAT_END, // 0x35
|
PLAYER_CHAT, // 0x35
|
||||||
COMBAT_ENTER, // 0x36
|
COMBAT_END, // 0x36
|
||||||
COMBAT_KILL, // 0x37
|
COMBAT_ENTER, // 0x37
|
||||||
PLAYER_INFO_REMOVE, // 0x38
|
COMBAT_KILL, // 0x38
|
||||||
PLAYER_INFO_UPDATE, // 0x39
|
PLAYER_INFO_REMOVE, // 0x39
|
||||||
FACE_PLAYER, // 0x3A
|
PLAYER_INFO_UPDATE, // 0x3A
|
||||||
PLAYER_POSITION, // 0x3B
|
FACE_PLAYER, // 0x3B
|
||||||
UNLOCK_RECIPES, // 0x3C
|
PLAYER_POSITION, // 0x3C
|
||||||
REMOVE_ENTITIES, // 0x3D
|
UNLOCK_RECIPES, // 0x3D
|
||||||
REMOVE_ENTITY_EFFECT, // 0x3E
|
REMOVE_ENTITIES, // 0x3E
|
||||||
RESOURCE_PACK, // 0x3F
|
REMOVE_ENTITY_EFFECT, // 0x3F
|
||||||
RESPAWN, // 0x40
|
RESOURCE_PACK, // 0x40
|
||||||
ENTITY_HEAD_LOOK, // 0x41
|
RESPAWN, // 0x41
|
||||||
MULTI_BLOCK_CHANGE, // 0x42
|
ENTITY_HEAD_LOOK, // 0x42
|
||||||
SELECT_ADVANCEMENTS_TAB, // 0x43
|
MULTI_BLOCK_CHANGE, // 0x43
|
||||||
SERVER_DATA, // 0x44
|
SELECT_ADVANCEMENTS_TAB, // 0x44
|
||||||
ACTIONBAR, // 0x45
|
SERVER_DATA, // 0x45
|
||||||
WORLD_BORDER_CENTER, // 0x46
|
ACTIONBAR, // 0x46
|
||||||
WORLD_BORDER_LERP_SIZE, // 0x47
|
WORLD_BORDER_CENTER, // 0x47
|
||||||
WORLD_BORDER_SIZE, // 0x48
|
WORLD_BORDER_LERP_SIZE, // 0x48
|
||||||
WORLD_BORDER_WARNING_DELAY, // 0x49
|
WORLD_BORDER_SIZE, // 0x49
|
||||||
WORLD_BORDER_WARNING_DISTANCE, // 0x4A
|
WORLD_BORDER_WARNING_DELAY, // 0x4A
|
||||||
CAMERA, // 0x4B
|
WORLD_BORDER_WARNING_DISTANCE, // 0x4B
|
||||||
HELD_ITEM_CHANGE, // 0x4C
|
CAMERA, // 0x4C
|
||||||
UPDATE_VIEW_POSITION, // 0x4D
|
HELD_ITEM_CHANGE, // 0x4D
|
||||||
UPDATE_VIEW_DISTANCE, // 0x4E
|
UPDATE_VIEW_POSITION, // 0x4E
|
||||||
SPAWN_POSITION, // 0x4F
|
UPDATE_VIEW_DISTANCE, // 0x4F
|
||||||
DISPLAY_SCOREBOARD, // 0x50
|
SPAWN_POSITION, // 0x50
|
||||||
ENTITY_METADATA, // 0x51
|
DISPLAY_SCOREBOARD, // 0x51
|
||||||
ATTACH_ENTITY, // 0x52
|
ENTITY_METADATA, // 0x52
|
||||||
ENTITY_VELOCITY, // 0x53
|
ATTACH_ENTITY, // 0x53
|
||||||
ENTITY_EQUIPMENT, // 0x54
|
ENTITY_VELOCITY, // 0x54
|
||||||
SET_EXPERIENCE, // 0x55
|
ENTITY_EQUIPMENT, // 0x55
|
||||||
UPDATE_HEALTH, // 0x56
|
SET_EXPERIENCE, // 0x56
|
||||||
SCOREBOARD_OBJECTIVE, // 0x57
|
UPDATE_HEALTH, // 0x57
|
||||||
SET_PASSENGERS, // 0x58
|
SCOREBOARD_OBJECTIVE, // 0x58
|
||||||
TEAMS, // 0x59
|
SET_PASSENGERS, // 0x59
|
||||||
UPDATE_SCORE, // 0x5A
|
TEAMS, // 0x5A
|
||||||
SET_SIMULATION_DISTANCE, // 0x5B
|
UPDATE_SCORE, // 0x5B
|
||||||
TITLE_SUBTITLE, // 0x5C
|
SET_SIMULATION_DISTANCE, // 0x5C
|
||||||
TIME_UPDATE, // 0x5D
|
TITLE_SUBTITLE, // 0x5D
|
||||||
TITLE_TEXT, // 0x5E
|
TIME_UPDATE, // 0x5E
|
||||||
TITLE_TIMES, // 0x5F
|
TITLE_TEXT, // 0x5F
|
||||||
ENTITY_SOUND, // 0x60
|
TITLE_TIMES, // 0x60
|
||||||
SOUND, // 0x61
|
ENTITY_SOUND, // 0x61
|
||||||
STOP_SOUND, // 0x62
|
SOUND, // 0x62
|
||||||
SYSTEM_CHAT, // 0x63
|
STOP_SOUND, // 0x63
|
||||||
TAB_LIST, // 0x64
|
SYSTEM_CHAT, // 0x64
|
||||||
NBT_QUERY, // 0x65
|
TAB_LIST, // 0x65
|
||||||
COLLECT_ITEM, // 0x66
|
NBT_QUERY, // 0x66
|
||||||
ENTITY_TELEPORT, // 0x67
|
COLLECT_ITEM, // 0x67
|
||||||
ADVANCEMENTS, // 0x68
|
ENTITY_TELEPORT, // 0x68
|
||||||
ENTITY_PROPERTIES, // 0x69
|
ADVANCEMENTS, // 0x69
|
||||||
UPDATE_ENABLED_FEATURES, // 0x6A
|
ENTITY_PROPERTIES, // 0x6A
|
||||||
ENTITY_EFFECT, // 0x6B
|
UPDATE_ENABLED_FEATURES, // 0x6B
|
||||||
DECLARE_RECIPES, // 0x6C
|
ENTITY_EFFECT, // 0x6C
|
||||||
TAGS; // 0x6D
|
DECLARE_RECIPES, // 0x6D
|
||||||
|
TAGS; // 0x6E
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getId() {
|
public int getId() {
|
||||||
|
@ -72,6 +72,20 @@ public final class EntityPackets extends EntityRewriter<ClientboundPackets1_19_3
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
protocol.registerClientbound(ClientboundPackets1_19_3.PLAYER_POSITION, new PacketHandlers() {
|
||||||
|
@Override
|
||||||
|
protected void register() {
|
||||||
|
map(Type.DOUBLE); // X
|
||||||
|
map(Type.DOUBLE); // Y
|
||||||
|
map(Type.DOUBLE); // Z
|
||||||
|
map(Type.FLOAT); // Yaw
|
||||||
|
map(Type.FLOAT); // Pitch
|
||||||
|
map(Type.UNSIGNED_BYTE); // Relative arguments
|
||||||
|
map(Type.VAR_INT); // Id
|
||||||
|
read(Type.BOOLEAN); // Dismount vehicle
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
protocol.registerClientbound(ClientboundPackets1_19_3.ENTITY_ANIMATION, new PacketHandlers() {
|
protocol.registerClientbound(ClientboundPackets1_19_3.ENTITY_ANIMATION, new PacketHandlers() {
|
||||||
@Override
|
@Override
|
||||||
public void register() {
|
public void register() {
|
||||||
|
@ -27600,6 +27600,7 @@
|
|||||||
"minecraft:resource_key",
|
"minecraft:resource_key",
|
||||||
"minecraft:template_mirror",
|
"minecraft:template_mirror",
|
||||||
"minecraft:template_rotation",
|
"minecraft:template_rotation",
|
||||||
|
"minecraft:heightmap",
|
||||||
"minecraft:uuid"
|
"minecraft:uuid"
|
||||||
],
|
],
|
||||||
"enchantments": [
|
"enchantments": [
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Project properties - we put these here so they can be modified without causing a recompile of the build scripts
|
# Project properties - we put these here so they can be modified without causing a recompile of the build scripts
|
||||||
projectVersion=4.6.0-23w07a-SNAPSHOT
|
projectVersion=4.6.0-23w08a-SNAPSHOT
|
||||||
|
|
||||||
# Gradle properties
|
# Gradle properties
|
||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren