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

personthecat.catlib.registry.RegistrySet Maven / Gradle / Ivy

Go to download

Utilities for serialization, commands, noise generation, IO, and some new data types.

The newest version!
package personthecat.catlib.registry;

import lombok.Getter;
import net.minecraft.class_2378;
import net.minecraft.class_2922;
import net.minecraft.class_5312;
import net.minecraft.class_5455;
import net.minecraft.class_6796;

@Getter
public class RegistrySet {
    private final class_5455 registries;
    private final class_2378> carvers;
    private final class_2378 features;
    private final class_2378> structures;

    public RegistrySet(final class_5455 registries) {
        this.registries = registries;
        this.carvers = registries.method_30530(class_2378.field_25913);
        this.features = registries.method_30530(class_2378.field_35758);
        this.structures = registries.method_30530(class_2378.field_25915);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy