Skip to content

Commit

Permalink
Use NBTSon instead
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberpwnn committed Jul 5, 2022
1 parent 7fc9167 commit 814735a
Show file tree
Hide file tree
Showing 50 changed files with 11 additions and 4,865 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ dependencies {
implementation 'org.reflections:reflections:0.10.2'
api 'systems.manifold:manifold-rt:2022.1.18'
api 'systems.manifold:manifold-ext-rt:2022.1.18'
api 'art.arcane:NBTSon:22.7.7'
api 'it.unimi.dsi:fastutil:8.5.8'
api 'com.google.guava:guava:31.1-jre'
api 'org.apache.commons:commons-lang3:3.12.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,12 @@
package Amulet.extensions.java.io.DataInputStream;

import art.arcane.amulet.data.Varint;
import art.arcane.amulet.io.nbt.nbt.io.NBTDeserializer;
import art.arcane.amulet.io.nbt.nbt.io.NBTSerializer;
import art.arcane.amulet.io.nbt.nbt.io.NamedTag;
import art.arcane.amulet.io.nbt.nbt.tag.CompoundTag;
import art.arcane.nbtson.io.NBTDeserializer;
import art.arcane.nbtson.tag.CompoundTag;
import manifold.ext.rt.api.Extension;
import manifold.ext.rt.api.This;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

@Extension
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
package Amulet.extensions.java.io.DataOutputStream;

import art.arcane.amulet.data.Varint;
import art.arcane.amulet.io.nbt.nbt.io.NBTSerializer;
import art.arcane.amulet.io.nbt.nbt.io.NBTUtil;
import art.arcane.amulet.io.nbt.nbt.io.NamedTag;
import art.arcane.amulet.io.nbt.nbt.tag.CompoundTag;
import art.arcane.nbtson.io.NBTSerializer;
import art.arcane.nbtson.io.NamedTag;
import art.arcane.nbtson.tag.CompoundTag;
import manifold.ext.rt.api.Extension;
import manifold.ext.rt.api.This;

Expand Down
10 changes: 5 additions & 5 deletions src/main/java/Amulet/extensions/java/lang/Object/XObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@

package Amulet.extensions.java.lang.Object;

import art.arcane.amulet.io.nbt.nbt.io.SNBTSerializer;
import art.arcane.amulet.io.nbt.nbt.tag.CompoundTag;
import art.arcane.amulet.io.nbt.nbt.tag.Tag;
import art.arcane.amulet.io.nbt.objects.NBTObjectSerializer;
import art.arcane.amulet.io.nbt.objects.UnserializableClassException;
import art.arcane.amulet.logging.LogListener;
import art.arcane.amulet.profiling.Profiler;
import art.arcane.nbtson.io.NBTObjectSerializer;
import art.arcane.nbtson.io.SNBTSerializer;
import art.arcane.nbtson.io.UnserializableClassException;
import art.arcane.nbtson.tag.CompoundTag;
import art.arcane.nbtson.tag.Tag;
import com.google.gson.Gson;
import manifold.ext.rt.api.Extension;
import manifold.ext.rt.api.This;
Expand Down
55 changes: 0 additions & 55 deletions src/main/java/art/arcane/amulet/io/nbt/io/Deserializer.java

This file was deleted.

25 changes: 0 additions & 25 deletions src/main/java/art/arcane/amulet/io/nbt/io/ExceptionBiFunction.java

This file was deleted.

This file was deleted.

31 changes: 0 additions & 31 deletions src/main/java/art/arcane/amulet/io/nbt/io/MaxDepthIO.java

This file was deleted.

This file was deleted.

39 changes: 0 additions & 39 deletions src/main/java/art/arcane/amulet/io/nbt/io/Serializer.java

This file was deleted.

49 changes: 0 additions & 49 deletions src/main/java/art/arcane/amulet/io/nbt/io/StringDeserializer.java

This file was deleted.

47 changes: 0 additions & 47 deletions src/main/java/art/arcane/amulet/io/nbt/io/StringSerializer.java

This file was deleted.

Loading

0 comments on commit 814735a

Please sign in to comment.