public class Constants
extends Object
Class that contains all common constants.
-
Field Summary
Fields
static Supplier<net.minecraft.world.item.Item>
Supplier of registered copper shears item
static final org.slf4j.Logger
-
Method Summary
static net.minecraft.resources.ResourceLocation
Static method to create a ResourceLocation for this mod.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
MOD_ID
public static final String MOD_ID
mod id
- See Also:
-
-
MOD_NAME
public static final String MOD_NAME
mod name
- See Also:
-
-
LOG
public static final org.slf4j.Logger LOG
Logger instance
-
COPPER_SHEARS
public static Supplier<net.minecraft.world.item.Item> COPPER_SHEARS
Supplier of registered copper shears item
-
Method Details
-
id
public static net.minecraft.resources.ResourceLocation id(String name)
Static method to create a ResourceLocation for this mod.
- Parameters:
name - name/path of the ResourceLocation
- Returns:
- ResourceLocation object