mirror of
https://github.com/ViaVersion/ViaLegacy.git
synced 2025-01-02 18:28:57 +01:00
Updated Via API usage
This commit is contained in:
parent
ef45ab599a
commit
d8db18ed0a
@ -23,7 +23,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly "com.viaversion:viaversion-common:5.0.4"
|
||||
compileOnly "com.viaversion:viaversion-common:5.1.0"
|
||||
compileOnly "com.google.guava:guava:33.3.1-jre"
|
||||
compileOnly "io.netty:netty-handler:4.1.114.Final"
|
||||
}
|
||||
|
@ -21,6 +21,7 @@ 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;
|
||||
@ -136,6 +137,11 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user