Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +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_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_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 ProtocolVersion register(int version, String name) {
|
||||
|
@ -34,103 +34,104 @@ public enum ClientboundPackets1_19_4 implements ClientboundPacketType {
|
||||
BLOCK_CHANGE, // 0x0A
|
||||
BOSSBAR, // 0x0B
|
||||
SERVER_DIFFICULTY, // 0x0C
|
||||
CLEAR_TITLES, // 0x0D
|
||||
TAB_COMPLETE, // 0x0E
|
||||
DECLARE_COMMANDS, // 0x0F
|
||||
CLOSE_WINDOW, // 0x10
|
||||
WINDOW_ITEMS, // 0x11
|
||||
WINDOW_PROPERTY, // 0x12
|
||||
SET_SLOT, // 0x13
|
||||
COOLDOWN, // 0x14
|
||||
CUSTOM_CHAT_COMPLETIONS, // 0x15
|
||||
PLUGIN_MESSAGE, // 0x16
|
||||
DAMAGE_EVENT, // 0x17
|
||||
DELETE_CHAT_MESSAGE, // 0x18
|
||||
DISCONNECT, // 0x19
|
||||
DISGUISED_CHAT, // 0x1A
|
||||
ENTITY_STATUS, // 0x1B
|
||||
EXPLOSION, // 0x1C
|
||||
UNLOAD_CHUNK, // 0x1D
|
||||
GAME_EVENT, // 0x1E
|
||||
OPEN_HORSE_WINDOW, // 0x1F
|
||||
HIT_ANIMATION, // 0x20
|
||||
WORLD_BORDER_INIT, // 0x21
|
||||
KEEP_ALIVE, // 0x22
|
||||
CHUNK_DATA, // 0x23
|
||||
EFFECT, // 0x24
|
||||
SPAWN_PARTICLE, // 0x25
|
||||
UPDATE_LIGHT, // 0x26
|
||||
JOIN_GAME, // 0x27
|
||||
MAP_DATA, // 0x28
|
||||
TRADE_LIST, // 0x29
|
||||
ENTITY_POSITION, // 0x2A
|
||||
ENTITY_POSITION_AND_ROTATION, // 0x2B
|
||||
ENTITY_ROTATION, // 0x2C
|
||||
VEHICLE_MOVE, // 0x2D
|
||||
OPEN_BOOK, // 0x2E
|
||||
OPEN_WINDOW, // 0x2F
|
||||
OPEN_SIGN_EDITOR, // 0x30
|
||||
PING, // 0x31
|
||||
CRAFT_RECIPE_RESPONSE, // 0x32
|
||||
PLAYER_ABILITIES, // 0x33
|
||||
PLAYER_CHAT, // 0x34
|
||||
COMBAT_END, // 0x35
|
||||
COMBAT_ENTER, // 0x36
|
||||
COMBAT_KILL, // 0x37
|
||||
PLAYER_INFO_REMOVE, // 0x38
|
||||
PLAYER_INFO_UPDATE, // 0x39
|
||||
FACE_PLAYER, // 0x3A
|
||||
PLAYER_POSITION, // 0x3B
|
||||
UNLOCK_RECIPES, // 0x3C
|
||||
REMOVE_ENTITIES, // 0x3D
|
||||
REMOVE_ENTITY_EFFECT, // 0x3E
|
||||
RESOURCE_PACK, // 0x3F
|
||||
RESPAWN, // 0x40
|
||||
ENTITY_HEAD_LOOK, // 0x41
|
||||
MULTI_BLOCK_CHANGE, // 0x42
|
||||
SELECT_ADVANCEMENTS_TAB, // 0x43
|
||||
SERVER_DATA, // 0x44
|
||||
ACTIONBAR, // 0x45
|
||||
WORLD_BORDER_CENTER, // 0x46
|
||||
WORLD_BORDER_LERP_SIZE, // 0x47
|
||||
WORLD_BORDER_SIZE, // 0x48
|
||||
WORLD_BORDER_WARNING_DELAY, // 0x49
|
||||
WORLD_BORDER_WARNING_DISTANCE, // 0x4A
|
||||
CAMERA, // 0x4B
|
||||
HELD_ITEM_CHANGE, // 0x4C
|
||||
UPDATE_VIEW_POSITION, // 0x4D
|
||||
UPDATE_VIEW_DISTANCE, // 0x4E
|
||||
SPAWN_POSITION, // 0x4F
|
||||
DISPLAY_SCOREBOARD, // 0x50
|
||||
ENTITY_METADATA, // 0x51
|
||||
ATTACH_ENTITY, // 0x52
|
||||
ENTITY_VELOCITY, // 0x53
|
||||
ENTITY_EQUIPMENT, // 0x54
|
||||
SET_EXPERIENCE, // 0x55
|
||||
UPDATE_HEALTH, // 0x56
|
||||
SCOREBOARD_OBJECTIVE, // 0x57
|
||||
SET_PASSENGERS, // 0x58
|
||||
TEAMS, // 0x59
|
||||
UPDATE_SCORE, // 0x5A
|
||||
SET_SIMULATION_DISTANCE, // 0x5B
|
||||
TITLE_SUBTITLE, // 0x5C
|
||||
TIME_UPDATE, // 0x5D
|
||||
TITLE_TEXT, // 0x5E
|
||||
TITLE_TIMES, // 0x5F
|
||||
ENTITY_SOUND, // 0x60
|
||||
SOUND, // 0x61
|
||||
STOP_SOUND, // 0x62
|
||||
SYSTEM_CHAT, // 0x63
|
||||
TAB_LIST, // 0x64
|
||||
NBT_QUERY, // 0x65
|
||||
COLLECT_ITEM, // 0x66
|
||||
ENTITY_TELEPORT, // 0x67
|
||||
ADVANCEMENTS, // 0x68
|
||||
ENTITY_PROPERTIES, // 0x69
|
||||
UPDATE_ENABLED_FEATURES, // 0x6A
|
||||
ENTITY_EFFECT, // 0x6B
|
||||
DECLARE_RECIPES, // 0x6C
|
||||
TAGS; // 0x6D
|
||||
CHUNK_BIOMES, // 0x0D
|
||||
CLEAR_TITLES, // 0x0E
|
||||
TAB_COMPLETE, // 0x0F
|
||||
DECLARE_COMMANDS, // 0x10
|
||||
CLOSE_WINDOW, // 0x11
|
||||
WINDOW_ITEMS, // 0x12
|
||||
WINDOW_PROPERTY, // 0x13
|
||||
SET_SLOT, // 0x14
|
||||
COOLDOWN, // 0x15
|
||||
CUSTOM_CHAT_COMPLETIONS, // 0x16
|
||||
PLUGIN_MESSAGE, // 0x17
|
||||
DAMAGE_EVENT, // 0x18
|
||||
DELETE_CHAT_MESSAGE, // 0x19
|
||||
DISCONNECT, // 0x1A
|
||||
DISGUISED_CHAT, // 0x1B
|
||||
ENTITY_STATUS, // 0x1C
|
||||
EXPLOSION, // 0x1D
|
||||
UNLOAD_CHUNK, // 0x1E
|
||||
GAME_EVENT, // 0x1F
|
||||
OPEN_HORSE_WINDOW, // 0x20
|
||||
HIT_ANIMATION, // 0x21
|
||||
WORLD_BORDER_INIT, // 0x22
|
||||
KEEP_ALIVE, // 0x23
|
||||
CHUNK_DATA, // 0x24
|
||||
EFFECT, // 0x25
|
||||
SPAWN_PARTICLE, // 0x26
|
||||
UPDATE_LIGHT, // 0x27
|
||||
JOIN_GAME, // 0x28
|
||||
MAP_DATA, // 0x29
|
||||
TRADE_LIST, // 0x2A
|
||||
ENTITY_POSITION, // 0x2B
|
||||
ENTITY_POSITION_AND_ROTATION, // 0x2C
|
||||
ENTITY_ROTATION, // 0x2D
|
||||
VEHICLE_MOVE, // 0x2E
|
||||
OPEN_BOOK, // 0x2F
|
||||
OPEN_WINDOW, // 0x30
|
||||
OPEN_SIGN_EDITOR, // 0x31
|
||||
PING, // 0x32
|
||||
CRAFT_RECIPE_RESPONSE, // 0x33
|
||||
PLAYER_ABILITIES, // 0x34
|
||||
PLAYER_CHAT, // 0x35
|
||||
COMBAT_END, // 0x36
|
||||
COMBAT_ENTER, // 0x37
|
||||
COMBAT_KILL, // 0x38
|
||||
PLAYER_INFO_REMOVE, // 0x39
|
||||
PLAYER_INFO_UPDATE, // 0x3A
|
||||
FACE_PLAYER, // 0x3B
|
||||
PLAYER_POSITION, // 0x3C
|
||||
UNLOCK_RECIPES, // 0x3D
|
||||
REMOVE_ENTITIES, // 0x3E
|
||||
REMOVE_ENTITY_EFFECT, // 0x3F
|
||||
RESOURCE_PACK, // 0x40
|
||||
RESPAWN, // 0x41
|
||||
ENTITY_HEAD_LOOK, // 0x42
|
||||
MULTI_BLOCK_CHANGE, // 0x43
|
||||
SELECT_ADVANCEMENTS_TAB, // 0x44
|
||||
SERVER_DATA, // 0x45
|
||||
ACTIONBAR, // 0x46
|
||||
WORLD_BORDER_CENTER, // 0x47
|
||||
WORLD_BORDER_LERP_SIZE, // 0x48
|
||||
WORLD_BORDER_SIZE, // 0x49
|
||||
WORLD_BORDER_WARNING_DELAY, // 0x4A
|
||||
WORLD_BORDER_WARNING_DISTANCE, // 0x4B
|
||||
CAMERA, // 0x4C
|
||||
HELD_ITEM_CHANGE, // 0x4D
|
||||
UPDATE_VIEW_POSITION, // 0x4E
|
||||
UPDATE_VIEW_DISTANCE, // 0x4F
|
||||
SPAWN_POSITION, // 0x50
|
||||
DISPLAY_SCOREBOARD, // 0x51
|
||||
ENTITY_METADATA, // 0x52
|
||||
ATTACH_ENTITY, // 0x53
|
||||
ENTITY_VELOCITY, // 0x54
|
||||
ENTITY_EQUIPMENT, // 0x55
|
||||
SET_EXPERIENCE, // 0x56
|
||||
UPDATE_HEALTH, // 0x57
|
||||
SCOREBOARD_OBJECTIVE, // 0x58
|
||||
SET_PASSENGERS, // 0x59
|
||||
TEAMS, // 0x5A
|
||||
UPDATE_SCORE, // 0x5B
|
||||
SET_SIMULATION_DISTANCE, // 0x5C
|
||||
TITLE_SUBTITLE, // 0x5D
|
||||
TIME_UPDATE, // 0x5E
|
||||
TITLE_TEXT, // 0x5F
|
||||
TITLE_TIMES, // 0x60
|
||||
ENTITY_SOUND, // 0x61
|
||||
SOUND, // 0x62
|
||||
STOP_SOUND, // 0x63
|
||||
SYSTEM_CHAT, // 0x64
|
||||
TAB_LIST, // 0x65
|
||||
NBT_QUERY, // 0x66
|
||||
COLLECT_ITEM, // 0x67
|
||||
ENTITY_TELEPORT, // 0x68
|
||||
ADVANCEMENTS, // 0x69
|
||||
ENTITY_PROPERTIES, // 0x6A
|
||||
UPDATE_ENABLED_FEATURES, // 0x6B
|
||||
ENTITY_EFFECT, // 0x6C
|
||||
DECLARE_RECIPES, // 0x6D
|
||||
TAGS; // 0x6E
|
||||
|
||||
@Override
|
||||
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() {
|
||||
@Override
|
||||
public void register() {
|
||||
|
@ -27600,6 +27600,7 @@
|
||||
"minecraft:resource_key",
|
||||
"minecraft:template_mirror",
|
||||
"minecraft:template_rotation",
|
||||
"minecraft:heightmap",
|
||||
"minecraft:uuid"
|
||||
],
|
||||
"enchantments": [
|
||||
|
@ -1,5 +1,5 @@
|
||||
# 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
|
||||
org.gradle.daemon=true
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren