Skip to content

Commit

Permalink
Bedrock 1.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wode490390 committed Jul 10, 2024
1 parent 2b2f238 commit e47dc34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/cn/nukkit/GameVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public enum GameVersion {
V1_20_70(662, "1.20.70"),
V1_20_80(671, "1.20.80"),
V1_21_0(685, "1.21.0", "1.21"),
V1_21_2(686, "1.21.2"),
;

private static GameVersion FEATURE_VERSION = GameVersion.V1_18_0;
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/cn/nukkit/Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -6551,4 +6551,10 @@ public Origin getCommandOrigin() {
*/
public void sendFogStack(String... fogStack) {
}

/**
* @since 1.21.2
*/
public void requestCloseFormWindow() {
}
}
1 change: 1 addition & 0 deletions src/main/java/cn/nukkit/network/protocol/ProtocolInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ public interface ProtocolInfo {
int SET_PLAYER_INVENTORY_OPTIONS_PACKET = 0x133; // 307 cs
int SET_HUD_PACKET = 0x134; // 308 c
int AWARD_ACHIEVEMENT_PACKET = 0x135; // 309 c
int CLIENTBOUND_CLOSE_FORM_PACKET = 0x136; // 310 c


int COUNT = 1024;
Expand Down

0 comments on commit e47dc34

Please sign in to comment.