net.silkmc.silk.persistence.mixin.chunk.ImposterProtoChunkMixin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of silk-persistence Show documentation
Show all versions of silk-persistence Show documentation
Silk is a Minecraft API for Kotlin
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