All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.silkmc.silk.persistence.mixin.chunk.ImposterProtoChunkMixin Maven / Gradle / Ivy

There is a newer version: 1.10.7
Show newest version
package net.silkmc.silk.persistence.mixin.chunk;

import net.minecraft.class_2818;
import net.minecraft.class_2821;
import net.silkmc.silk.persistence.CompoundProvider;
import net.silkmc.silk.persistence.PersistentCompound;
import org.jetbrains.annotations.NotNull;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;

@Mixin(class_2821.class)
public class ImposterProtoChunkMixin implements CompoundProvider {

    @Shadow @Final private class_2818 wrapped;

    @NotNull
    @Override
    public PersistentCompound getCompound() {
        return ((CompoundProvider) wrapped).getCompound();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy