personthecat.catlib.mixin.ProtoChunkMixin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of catlib-quilt Show documentation
Show all versions of catlib-quilt Show documentation
Utilities for serialization, commands, noise generation, IO, and some new data types.
The newest version!
package personthecat.catlib.mixin;
import net.minecraft.class_2839;
import net.minecraft.class_2874;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Unique;
import personthecat.catlib.util.DimInjector;
@Mixin(class_2839.class)
public class ProtoChunkMixin implements DimInjector {
@Unique
class_2874 catlibInjectedDim;
@Override
public void setType(final @NotNull class_2874 type) {
this.catlibInjectedDim = type;
}
@Override
public @Nullable class_2874 getType() {
return this.catlibInjectedDim;
}
}