Skip to content

Commit

Permalink
Update version to 2.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
XieFrish2021 committed Dec 1, 2024
1 parent 54b85ff commit 1d7eac5
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class NBTest {
}
```

### 读操作
### 读操作(NBT)
#### 源码
```java
public class NBTest {
Expand Down Expand Up @@ -69,6 +69,23 @@ Frish2021
123456
```

### 读操作(SNBT)
#### 源码
```java
public class NBTest {
public static void main(String[] args) {
CompoundTag tag = NBTReader.readSNBT("{name: Frish2021}");
System.out.println(tag.get("name"));
}
}
```

#### 效果
控制台输出
```
Frish2021
```

## (2) 其他
接下来的基本就是Bug修复,性能优化什么的。这个NBT库也没什么可以更新的。\
该NBT库的新代码是写Ankair 1.17.1的时候顺便写的,因为Minecraft 1.17.1服务端的Join Game封包要求写NBT格式的Codec \
Expand Down

0 comments on commit 1d7eac5

Please sign in to comment.