mirror of
https://github.com/ViaVersion/ViaAprilFools.git
synced 2025-01-08 19:17:40 +01:00
Port to upstream changes
This commit is contained in:
parent
cf0e9c9baf
commit
b3a5559c6b
@ -23,8 +23,8 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly "com.viaversion:viaversion-common:4.10.0-24w09a-SNAPSHOT"
|
||||
compileOnly "com.viaversion:viabackwards-common:4.10.0-24w09a-SNAPSHOT"
|
||||
compileOnly "com.viaversion:viaversion-common:4.10.0-1.20.5-rc2-SNAPSHOT"
|
||||
compileOnly "com.viaversion:viabackwards-common:4.10.0-1.20.5-rc2-SNAPSHOT"
|
||||
compileOnly "org.yaml:snakeyaml:2.2"
|
||||
compileOnly "com.google.guava:guava:33.1.0-jre"
|
||||
compileOnly "io.netty:netty-handler:4.1.109.Final"
|
||||
|
@ -17,10 +17,10 @@
|
||||
*/
|
||||
package net.raphimc.viaaprilfools.protocols.protocol1_14to3D_Shareware.packets;
|
||||
|
||||
import com.viaversion.viabackwards.api.rewriters.ItemRewriter;
|
||||
import com.viaversion.viaversion.api.protocol.remapper.PacketHandlers;
|
||||
import com.viaversion.viaversion.api.type.Type;
|
||||
import com.viaversion.viaversion.protocols.protocol1_14to1_13_2.ServerboundPackets1_14;
|
||||
import com.viaversion.viaversion.rewriter.ItemRewriter;
|
||||
import net.raphimc.viaaprilfools.protocols.protocol1_14to3D_Shareware.ClientboundPackets3D_Shareware;
|
||||
import net.raphimc.viaaprilfools.protocols.protocol1_14to3D_Shareware.Protocol1_14to3D_Shareware;
|
||||
|
||||
|
@ -34,7 +34,7 @@ public class MetadataRewriter1_16to20w14infinite extends EntityRewriter<Clientbo
|
||||
|
||||
@Override
|
||||
protected void registerRewrites() {
|
||||
registerMetaTypeHandler(Types1_14.META_TYPES.itemType, Types1_14.META_TYPES.blockStateType, null, Types1_14.META_TYPES.particleType);
|
||||
registerMetaTypeHandler(Types1_14.META_TYPES.itemType, Types1_14.META_TYPES.blockStateType, Types1_14.META_TYPES.particleType);
|
||||
|
||||
filter().type(EntityTypes1_16.MINECART_ABSTRACT).index(10).handler((event, meta) -> {
|
||||
// Convert to new block id
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
package net.raphimc.viaaprilfools.protocols.protocol1_16to20w14infinite.packets;
|
||||
|
||||
import com.viaversion.viabackwards.api.rewriters.ItemRewriter;
|
||||
import com.viaversion.viaversion.api.minecraft.chunks.Chunk;
|
||||
import com.viaversion.viaversion.api.minecraft.chunks.ChunkSection;
|
||||
import com.viaversion.viaversion.api.minecraft.chunks.DataPalette;
|
||||
@ -31,6 +30,7 @@ import com.viaversion.viaversion.libs.opennbt.tag.builtin.LongArrayTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.Tag;
|
||||
import com.viaversion.viaversion.protocols.protocol1_16to1_15_2.ServerboundPackets1_16;
|
||||
import com.viaversion.viaversion.rewriter.BlockRewriter;
|
||||
import com.viaversion.viaversion.rewriter.ItemRewriter;
|
||||
import com.viaversion.viaversion.util.CompactArrayUtil;
|
||||
import net.raphimc.viaaprilfools.protocols.protocol1_16to20w14infinite.ClientboundPackets20w14infinite;
|
||||
import net.raphimc.viaaprilfools.protocols.protocol1_16to20w14infinite.Protocol1_16to20w14infinite;
|
||||
|
Loading…
Reference in New Issue
Block a user