21 lines
850 B
Java
21 lines
850 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.world.waypoints;
|
|
|
|
import net.minecraft.core.Registry;
|
|
import net.minecraft.resources.Identifier;
|
|
import net.minecraft.resources.ResourceKey;
|
|
import net.minecraft.world.waypoints.WaypointStyleAsset;
|
|
|
|
public interface WaypointStyleAssets {
|
|
public static final ResourceKey<? extends Registry<WaypointStyleAsset>> ROOT_ID = ResourceKey.createRegistryKey(Identifier.withDefaultNamespace("waypoint_style_asset"));
|
|
public static final ResourceKey<WaypointStyleAsset> DEFAULT = WaypointStyleAssets.createId("default");
|
|
public static final ResourceKey<WaypointStyleAsset> BOWTIE = WaypointStyleAssets.createId("bowtie");
|
|
|
|
public static ResourceKey<WaypointStyleAsset> createId(String name) {
|
|
return ResourceKey.create(ROOT_ID, Identifier.withDefaultNamespace(name));
|
|
}
|
|
}
|
|
|