Uses of Interface
net.minecraft.tag.Tag
Packages that use Tag
Package
Description
-
Uses of Tag in net.minecraft.block
Methods in net.minecraft.block with parameters of type Tag -
Uses of Tag in net.minecraft.block.entity
Methods in net.minecraft.block.entity with parameters of type Tag -
Uses of Tag in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame with type parameters of type TagModifier and TypeFieldDescriptionprivate final Map<Identifier,
Tag<Item>> CreativeInventoryScreen.searchResultTags
-
Uses of Tag in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type TagModifier and TypeMethodDescriptionstatic boolean
CraftPlanksTutorialStepHandler.hasCrafted
(ClientPlayerEntity player, Tag<Item> tag) -
Uses of Tag in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as TagModifier and TypeFieldDescriptionBlockPredicateArgumentType.TagPredicate.tag
ItemPredicateArgumentType.TagPredicate.tag
Methods in net.minecraft.command.argument that return TagModifier and TypeMethodDescription(package private) static Tag<CommandFunction>
CommandFunctionArgumentType.getFunctionTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id) Methods in net.minecraft.command.argument that return types with arguments of type TagModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<Identifier,
com.mojang.datafixers.util.Either<CommandFunction, Tag<CommandFunction>>> CommandFunctionArgumentType.FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static com.mojang.datafixers.util.Pair<Identifier,
com.mojang.datafixers.util.Either<CommandFunction, Tag<CommandFunction>>> CommandFunctionArgumentType.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) Constructors in net.minecraft.command.argument with parameters of type TagModifierConstructorDescription(package private)
TagPredicate
(Tag<Block> tag, Map<String, String> properties, @Nullable NbtCompound nbt) TagPredicate
(Tag<Item> tag, @Nullable NbtCompound nbt) -
Uses of Tag in net.minecraft.data.server
Methods in net.minecraft.data.server with parameters of type TagModifier 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
Methods in net.minecraft.data.server.recipe with parameters of type TagModifier and TypeMethodDescription -
Uses of Tag in net.minecraft.entity
Fields in net.minecraft.entity declared as TagFields in net.minecraft.entity with type parameters of type TagMethods in net.minecraft.entity with parameters of type TagModifier 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 speed) -
Uses of Tag in net.minecraft.entity.ai.brain.task
Constructors in net.minecraft.entity.ai.brain.task with parameters of type Tag -
Uses of Tag in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob with parameters of type TagModifier and TypeMethodDescriptionprotected void
MagmaCubeEntity.swimUpward
(Tag<Fluid> fluid) protected void
MobEntity.swimUpward
(Tag<Fluid> fluid) -
Uses of Tag in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive with parameters of type Tag -
Uses of Tag in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type Tag -
Uses of Tag in net.minecraft.fluid
Methods in net.minecraft.fluid with parameters of type Tag -
Uses of Tag in net.minecraft.item
Fields in net.minecraft.item declared as TagMethods in net.minecraft.item with parameters of type TagConstructors in net.minecraft.item with parameters of type TagModifierConstructorDescriptionprotected
MiningToolItem
(float attackDamage, float attackSpeed, ToolMaterial material, Tag<Block> effectiveBlocks, Item.Settings settings) -
Uses of Tag in net.minecraft.loot.entry
Fields in net.minecraft.loot.entry declared as TagMethods in net.minecraft.loot.entry with parameters of type TagModifier and TypeMethodDescriptionstatic LeafEntry.Builder<?>
static LeafEntry.Builder<?>
TagEntry.expandBuilder
(Tag<Item> name) Constructors in net.minecraft.loot.entry with parameters of type TagModifierConstructorDescription(package private)
TagEntry
(Tag<Item> name, boolean expand, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) -
Uses of Tag in net.minecraft.predicate
Fields in net.minecraft.predicate declared as TagModifier and TypeFieldDescriptionBlockPredicate.Builder.tag
BlockPredicate.tag
FluidPredicate.Builder.tag
FluidPredicate.tag
Methods in net.minecraft.predicate with parameters of type TagModifier and TypeMethodDescriptionConstructors in net.minecraft.predicate with parameters of type TagModifierConstructorDescriptionBlockPredicate
(@Nullable Tag<Block> tag, @Nullable Set<Block> blocks, StatePredicate state, NbtPredicate nbt) FluidPredicate
(@Nullable Tag<Fluid> tag, @Nullable Fluid fluid, StatePredicate state) -
Uses of Tag in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity declared as TagMethods in net.minecraft.predicate.entity with parameters of type TagModifier and TypeMethodDescriptionstatic EntityTypePredicate
EntityTypePredicate.create
(Tag<EntityType<?>> tag) EntityPredicate.Builder.type
(Tag<EntityType<?>> tag) Constructors in net.minecraft.predicate.entity with parameters of type Tag -
Uses of Tag in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item declared as TagMethods in net.minecraft.predicate.item with parameters of type TagConstructors in net.minecraft.predicate.item with parameters of type TagModifierConstructorDescriptionItemPredicate
(@Nullable Tag<Item> tag, @Nullable Set<Item> items, NumberRange.IntRange count, NumberRange.IntRange durability, EnchantmentPredicate[] enchantments, EnchantmentPredicate[] storedEnchantments, @Nullable Potion potion, NbtPredicate nbt) -
Uses of Tag in net.minecraft.recipe
Fields in net.minecraft.recipe declared as TagMethods in net.minecraft.recipe with parameters of type TagConstructors in net.minecraft.recipe with parameters of type Tag -
Uses of Tag in net.minecraft.server.command
Method parameters in net.minecraft.server.command with type arguments of type TagModifier 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
Methods in net.minecraft.server.function that return TagModifier and TypeMethodDescriptionCommandFunctionManager.getTag
(Identifier id) FunctionLoader.getTagOrEmpty
(Identifier id) -
Uses of Tag in net.minecraft.structure.rule
Fields in net.minecraft.structure.rule declared as TagConstructors in net.minecraft.structure.rule with parameters of type Tag -
Uses of Tag in net.minecraft.tag
Subinterfaces of Tag in net.minecraft.tagClasses in net.minecraft.tag that implement TagFields in net.minecraft.tag declared as TagFields in net.minecraft.tag with type parameters of type TagMethods in net.minecraft.tag that return TagModifier 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>
Methods in net.minecraft.tag that return types with arguments of type TagModifier 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()
Methods in net.minecraft.tag with parameters of type TagModifier and TypeMethodDescription<T,
E extends Exception>
IdentifierTagManager.getTagId
(RegistryKey<? extends Registry<T>> registryKey, Tag<T> tag, Supplier<E> exceptionSupplier) TagGroup.getUncheckedTagId
(Tag<T> tag) Method parameters in net.minecraft.tag with type arguments of type TagModifier 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
Methods in net.minecraft.world.dimension that return Tag -
Uses of Tag in net.minecraft.world.gen.blockpredicate
Fields in net.minecraft.world.gen.blockpredicate declared as TagMethods in net.minecraft.world.gen.blockpredicate with parameters of type TagModifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.matchingBlockTag
(Tag<Block> offset) static BlockPredicate
BlockPredicate.matchingBlockTag
(Tag<Block> tag, Vec3i offset) Constructors in net.minecraft.world.gen.blockpredicate with parameters of type Tag