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

personthecat.catlib.mixin.ProtoChunkMixin Maven / Gradle / Ivy

Go to download

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy