personthecat.catlib.registry.RegistrySet 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.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);
}
}