Uses of Interface
net.minecraft.tag.Tag
Package
Description
-
Uses of Tag in net.minecraft.block
-
Uses of Tag in net.minecraft.block.entity
-
Uses of Tag in net.minecraft.client.gui.screen.ingame
Modifier and TypeFieldDescriptionprivate Map<Identifier,Tag<Item>>
CreativeInventoryScreen.searchResultTags
-
Uses of Tag in net.minecraft.client.tutorial
Modifier and TypeMethodDescriptionstatic boolean
CraftPlanksTutorialStepHandler.hasCrafted(ClientPlayerEntity player, Tag<Item> tag)
-
Uses of Tag in net.minecraft.command.argument
Modifier and TypeFieldDescriptionBlockPredicateArgumentType.TagPredicate.tag
ItemPredicateArgumentType.TagPredicate.tag
Modifier and TypeMethodDescription(package private) static Tag<CommandFunction>
CommandFunctionArgumentType.getFunctionTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id)
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>
CommandFunctionArgumentType.FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)
static com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>
CommandFunctionArgumentType.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)
ModifierConstructorDescription(package private)
TagPredicate(Tag<Block> tag, Map<String,String> map, @Nullable NbtCompound nbtCompound)
TagPredicate(Tag<Item> tag, @Nullable NbtCompound nbt)
-
Uses of Tag in net.minecraft.data.server
Modifier and TypeMethodDescriptionprivate static InventoryChangedCriterion.Conditions
RecipesProvider.conditionsFromTag(Tag<Item> tag)
private static void
RecipesProvider.offerPlanksRecipe(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, Tag<Item> input)
private static void
RecipesProvider.offerPlanksRecipe2(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, Tag<Item> input)
-
Uses of Tag in net.minecraft.data.server.recipe
Modifier and TypeMethodDescription -
Uses of Tag in net.minecraft.entity
Modifier and TypeMethodDescriptiondouble
Entity.getFluidHeight(Tag<Fluid> fluid)
boolean
EntityType.isIn(Tag<EntityType<?>> tag)
boolean
Entity.isSubmergedIn(Tag<Fluid> fluidTag)
protected void
LivingEntity.swimUpward(Tag<Fluid> fluid)
boolean
Entity.updateMovementInFluid(Tag<Fluid> tag, double double2)
-
Uses of Tag in net.minecraft.entity.ai.brain.task
-
Uses of Tag in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionprotected void
MagmaCubeEntity.swimUpward(Tag<Fluid> fluid)
protected void
MobEntity.swimUpward(Tag<Fluid> fluid)
-
Uses of Tag in net.minecraft.entity.passive
-
Uses of Tag in net.minecraft.entity.player
-
Uses of Tag in net.minecraft.fluid
-
Uses of Tag in net.minecraft.item
ModifierConstructorDescriptionprotected
MiningToolItem(float attackDamage, float attackSpeed, ToolMaterial material, Tag<Block> effectiveBlocks, Item.Settings settings)
-
Uses of Tag in net.minecraft.loot.entry
Modifier and TypeMethodDescriptionstatic LeafEntry.Builder<?>
static LeafEntry.Builder<?>
TagEntry.expandBuilder(Tag<Item> name)
ModifierConstructorDescription(package private)
TagEntry(Tag<Item> tag, boolean bool, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction)
-
Uses of Tag in net.minecraft.predicate
Modifier and TypeFieldDescriptionBlockPredicate.Builder.tag
BlockPredicate.tag
FluidPredicate.Builder.tag
FluidPredicate.tag
Modifier and TypeMethodDescriptionModifierConstructorDescriptionBlockPredicate(@Nullable Tag<Block> tag, @Nullable Set<Block> set, StatePredicate state, NbtPredicate nbt)
FluidPredicate(@Nullable Tag<Fluid> tag, @Nullable Fluid fluid, StatePredicate state)
-
Uses of Tag in net.minecraft.predicate.entity
Modifier and TypeMethodDescriptionstatic EntityTypePredicate
EntityTypePredicate.create(Tag<EntityType<?>> tag)
EntityPredicate.Builder.type(Tag<EntityType<?>> tag)
-
Uses of Tag in net.minecraft.predicate.item
Modifier and TypeMethodDescriptionModifierConstructorDescriptionItemPredicate(@Nullable Tag<Item> tag, @Nullable Set<Item> set, NumberRange.IntRange count, NumberRange.IntRange durability, EnchantmentPredicate[] enchantments, EnchantmentPredicate[] storedEnchantments, @Nullable Potion potion, NbtPredicate nbt)
-
Uses of Tag in net.minecraft.recipe
-
Uses of Tag in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
ScheduleCommand.execute(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>> function, int time, boolean replace)
-
Uses of Tag in net.minecraft.server.function
Modifier and TypeMethodDescriptionFunctionLoader.getOrCreateTag(Identifier id)
CommandFunctionManager.getTaggedFunctions(Identifier tag)
-
Uses of Tag in net.minecraft.structure.rule
-
Uses of Tag in net.minecraft.tag
Modifier and TypeMethodDescriptionRequiredTagList.TagWrapper.get()
TagGroup.getTag(Identifier id)
TagManager.getTag(RegistryKey<? extends Registry<T>> registryKey, Identifier id, Function<Identifier,E> exceptionFactory)
TagGroup.getTagOrEmpty(Identifier id)
static <T> Tag<T>
Modifier and TypeMethodDescription<T> com.mojang.datafixers.util.Either<Collection<Tag.TrackedEntry>,Tag<T>>
Tag.Builder.build(Function<Identifier,Tag<T>> tagGetter, Function<Identifier,T> objectGetter)
static <T> com.mojang.serialization.Codec<Tag<T>>
FluidTags.getTags()
Deprecated.Map<Identifier,Tag<T>>
TagGroup.getTags()
Modifier and TypeMethodDescription<T, E extends Exception>
IdentifierTagManager.getTagId(RegistryKey<? extends Registry<T>> registryKey, Tag<T> tag, Supplier<E> exceptionSupplier)
TagGroup.getUncheckedTagId(Tag<T> tag)
Modifier and TypeMethodDescription<T> com.mojang.datafixers.util.Either<Collection<Tag.TrackedEntry>,Tag<T>>
Tag.Builder.build(Function<Identifier,Tag<T>> tagGetter, Function<Identifier,T> objectGetter)
static <T> TagGroup<T>
TagGroup.create(Map<Identifier,Tag<T>> tags)
<T> boolean
Tag.Entry.resolve(Function<Identifier,Tag<T>> tagGetter, Function<Identifier,T> objectGetter, Consumer<T> collector)
<T> boolean
Tag.ObjectEntry.resolve(Function<Identifier,Tag<T>> tagGetter, Function<Identifier,T> objectGetter, Consumer<T> collector)
<T> boolean
Tag.OptionalObjectEntry.resolve(Function<Identifier,Tag<T>> tagGetter, Function<Identifier,T> objectGetter, Consumer<T> collector)
<T> boolean
Tag.OptionalTagEntry.resolve(Function<Identifier,Tag<T>> tagGetter, Function<Identifier,T> objectGetter, Consumer<T> collector)
<T> boolean
Tag.TagEntry.resolve(Function<Identifier,Tag<T>> tagGetter, Function<Identifier,T> objectGetter, Consumer<T> collector)
(package private) void
RequiredTagList.TagWrapper.updateDelegate(Function<Identifier,Tag<T>> tagFactory)
-
Uses of Tag in net.minecraft.world.dimension