mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-01 05:23:37 +02:00
acef152961
Still not all, but not sure all of them are still relevant
20 lines
756 B
Java
20 lines
756 B
Java
package de.ellpeck.actuallyadditions.api;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.ActuallyAdditions;
|
|
import net.minecraft.item.Item;
|
|
import net.minecraft.tags.ITag;
|
|
import net.minecraft.tags.ItemTags;
|
|
|
|
public final class ActuallyTags {
|
|
public static class Items {
|
|
public static final ITag.INamedTag<Item> DRILLS = tag("drills");
|
|
public static final ITag.INamedTag<Item> COFFEE_BEANS = tag("coffee_beans");
|
|
public static final ITag.INamedTag<Item> TINY_COALS = tag("tiny_coals");
|
|
public static final ITag.INamedTag<Item> CRYSTALS = tag("crystals");
|
|
|
|
private static ITag.INamedTag<Item> tag(String name) {
|
|
return ItemTags.bind(String.format("%s:%s", ActuallyAdditions.MODID, name));
|
|
}
|
|
}
|
|
}
|