Updated Via API usage

This commit is contained in:
RaphiMC 2024-10-26 21:03:19 +02:00
parent 0e8c29d2fb
commit 66d7398285
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94
2 changed files with 1 additions and 7 deletions

View File

@ -23,7 +23,7 @@ repositories {
}
dependencies {
compileOnly "com.viaversion:viaversion-common:5.1.0"
compileOnly "com.viaversion:viaversion-common:5.1.1-SNAPSHOT"
compileOnly "com.google.guava:guava:33.3.1-jre"
compileOnly "io.netty:netty-handler:4.1.114.Final"
}

View File

@ -21,7 +21,6 @@ import com.viaversion.nbt.tag.CompoundTag;
import com.viaversion.nbt.tag.ListTag;
import com.viaversion.nbt.tag.StringTag;
import com.viaversion.viaversion.api.connection.UserConnection;
import com.viaversion.viaversion.api.minecraft.Particle;
import com.viaversion.viaversion.api.minecraft.item.Item;
import com.viaversion.viaversion.api.protocol.Protocol;
import com.viaversion.viaversion.api.protocol.packet.ClientboundPacketType;
@ -137,11 +136,6 @@ public abstract class LegacyItemRewriter<C extends ClientboundPacketType, S exte
return item;
}
@Override
public void rewriteParticle(final UserConnection userConnection, final Particle particle) {
// Rewriting particles in the item rewriter? VV moment
}
@Override
public Type<Item> itemType() {
return this.itemType;