Package com.simibubi.create
Class AllTags
java.lang.Object
com.simibubi.create.AllTags
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends net.minecraft.world.level.block.Block,P>
com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BlockBuilder<T,P>, com.tterrag.registrate.builders.BlockBuilder<T, P>> axeOnly()static <T extends net.minecraft.world.level.block.Block,P>
com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BlockBuilder<T,P>, com.tterrag.registrate.builders.BlockBuilder<T, P>> static net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block>forgeBlockTag(String path) static net.minecraft.tags.TagKey<net.minecraft.world.level.material.Fluid>forgeFluidTag(String path) static net.minecraft.tags.TagKey<net.minecraft.world.item.Item>forgeItemTag(String path) static <T extends net.minecraftforge.registries.IForgeRegistryEntry<T>>
net.minecraft.tags.TagKey<T>static <T extends net.minecraftforge.registries.IForgeRegistryEntry<T>>
net.minecraft.tags.TagKey<T>optionalTag(net.minecraftforge.registries.IForgeRegistry<T> registry, net.minecraft.resources.ResourceLocation id) static <T extends net.minecraft.world.level.block.Block,P>
com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BlockBuilder<T,P>, com.tterrag.registrate.builders.BlockBuilder<T, P>> static voidregister()static <T extends net.minecraft.world.level.block.Block,P>
com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BlockBuilder<T,P>, com.tterrag.registrate.builders.ItemBuilder<net.minecraft.world.item.BlockItem, com.tterrag.registrate.builders.BlockBuilder<T, P>>> tagBlockAndItem(String... path)
-
Constructor Details
-
AllTags
public AllTags()
-
-
Method Details
-
optionalTag
public static <T extends net.minecraftforge.registries.IForgeRegistryEntry<T>> net.minecraft.tags.TagKey<T> optionalTag(net.minecraftforge.registries.IForgeRegistry<T> registry, net.minecraft.resources.ResourceLocation id) -
forgeTag
public static <T extends net.minecraftforge.registries.IForgeRegistryEntry<T>> net.minecraft.tags.TagKey<T> forgeTag(net.minecraftforge.registries.IForgeRegistry<T> registry, String path) -
forgeBlockTag
public static net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> forgeBlockTag(String path) -
forgeItemTag
-
forgeFluidTag
public static net.minecraft.tags.TagKey<net.minecraft.world.level.material.Fluid> forgeFluidTag(String path) -
axeOrPickaxe
public static <T extends net.minecraft.world.level.block.Block,P> com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BlockBuilder<T,P>, axeOrPickaxe()com.tterrag.registrate.builders.BlockBuilder<T, P>> -
axeOnly
public static <T extends net.minecraft.world.level.block.Block,P> com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BlockBuilder<T,P>, axeOnly()com.tterrag.registrate.builders.BlockBuilder<T, P>> -
pickaxeOnly
public static <T extends net.minecraft.world.level.block.Block,P> com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BlockBuilder<T,P>, pickaxeOnly()com.tterrag.registrate.builders.BlockBuilder<T, P>> -
tagBlockAndItem
public static <T extends net.minecraft.world.level.block.Block,P> com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BlockBuilder<T,P>, tagBlockAndItemcom.tterrag.registrate.builders.ItemBuilder<net.minecraft.world.item.BlockItem, com.tterrag.registrate.builders.BlockBuilder<T, P>>> (String... path) -
register
public static void register()
-