Uses of Class
com.mojang.datafixers.util.Pair
Packages that use Pair
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of Pair in com.mojang.blaze3d.vertex
Fields in com.mojang.blaze3d.vertex with type parameters of type PairModifier and TypeFieldDescriptionprivate final List<Pair<TlsfAllocator, UberGpuBuffer.UberGpuBufferHeap>> UberGpuBuffer.nodes -
Uses of Pair in com.mojang.datafixers
Fields in com.mojang.datafixers with type parameters of type PairModifier and TypeFieldDescriptionprivate static final Map<DSL.Instances.TaggedChoiceCacheKey<?>, Type<? extends Pair<?, ?>>> DSL.Instances.TAGGED_CHOICE_TYPE_CACHEMethods in com.mojang.datafixers that return types with arguments of type PairModifier and TypeMethodDescriptionprivate <V> TypedOptic<Pair<FT, V>, ?, FT, FT> static <K,V, V2> TypedOptic <List<Pair<K, V>>, List<Pair<K, V2>>, V, V2> TypedOptic.compoundListElements(Type<K> keyType, Type<V> aType, Type<V2> bType) static <K,V, V2> TypedOptic <List<Pair<K, V>>, List<Pair<K, V2>>, V, V2> TypedOptic.compoundListElements(Type<K> keyType, Type<V> aType, Type<V2> bType) static <K,V, K2> TypedOptic <List<Pair<K, V>>, List<Pair<K2, V>>, K, K2> TypedOptic.compoundListKeys(Type<K> aType, Type<K2> bType, Type<V> valueType) static <K,V, K2> TypedOptic <List<Pair<K, V>>, List<Pair<K2, V>>, K, K2> TypedOptic.compoundListKeys(Type<K> aType, Type<K2> bType, Type<V> valueType) <A,B, C> App2 <FunctionType.Mu, Pair<A, C>, Pair<B, C>> FunctionType.Instance.first(App2<FunctionType.Mu, A, B> input) <A,B, C> App2 <FunctionType.Mu, Pair<A, C>, Pair<B, C>> FunctionType.Instance.first(App2<FunctionType.Mu, A, B> input) <A,B, C, D> App2 <FunctionType.Mu, Pair<A, C>, Pair<B, D>> FunctionType.Instance.par(App2<FunctionType.Mu, A, B> first, Supplier<App2<FunctionType.Mu, C, D>> second) <A,B, C, D> App2 <FunctionType.Mu, Pair<A, C>, Pair<B, D>> FunctionType.Instance.par(App2<FunctionType.Mu, A, B> first, Supplier<App2<FunctionType.Mu, C, D>> second) static <F,G, F2> TypedOptic <Pair<F, G>, Pair<F2, G>, F, F2> static <F,G, F2> TypedOptic <Pair<F, G>, Pair<F2, G>, F, F2> static <F,G, G2> TypedOptic <Pair<F, G>, Pair<F, G2>, G, G2> static <F,G, G2> TypedOptic <Pair<F, G>, Pair<F, G2>, G, G2> TypedOptic.replaceTagged(TaggedChoice.TaggedChoiceType<K> sType, K key, Type<A> aType, Type<B> bType) <A,B, C> App2 <FunctionType.Mu, Pair<C, A>, Pair<C, B>> FunctionType.Instance.second(App2<FunctionType.Mu, A, B> input) <A,B, C> App2 <FunctionType.Mu, Pair<C, A>, Pair<C, B>> FunctionType.Instance.second(App2<FunctionType.Mu, A, B> input) static <K,A, B> TypedOptic <Pair<K, ?>, Pair<K, ?>, A, B> TypedOptic.tagged(TaggedChoice.TaggedChoiceType<K> sType, K key, Type<A> aType, Type<B> bType) static <K,A, B> TypedOptic <Pair<K, ?>, Pair<K, ?>, A, B> TypedOptic.tagged(TaggedChoice.TaggedChoiceType<K> sType, K key, Type<A> aType, Type<B> bType) DSL.taggedChoiceType(String name, Type<K> keyType, Map<K, ? extends Type<?>> types) Methods in com.mojang.datafixers with parameters of type PairModifier and TypeMethodDescriptionstatic TypeTemplateDSL.optionalFields(Pair<String, TypeTemplate>... fields) -
Uses of Pair in com.mojang.datafixers.functions
Fields in com.mojang.datafixers.functions with type parameters of type PairModifier and TypeFieldDescriptionprivate static final Map<Pair<IntFunction<RewriteResult<?, ?>>, Integer>, RewriteResult<?, ?>> Fold.HMAP_APPLY_CACHE -
Uses of Pair in com.mojang.datafixers.optics
Classes in com.mojang.datafixers.optics that implement interfaces with type arguments of type PairModifier and TypeClassDescriptionfinal classInjTagged<K,A, B> Unchecked cast if name matchesfinal classInjTagged<K,A, B> Unchecked cast if name matchesfinal classProj1<F,G, F2> final classProj1<F,G, F2> final classProj2<F,G, G2> final classProj2<F,G, G2> Methods in com.mojang.datafixers.optics that return PairModifier and TypeMethodDescriptionMethods in com.mojang.datafixers.optics that return types with arguments of type PairModifier and TypeMethodDescription<A,B, C> App2 <ForgetE.Mu<R>, Pair<A, C>, Pair<B, C>> ForgetE.Instance.first(App2<ForgetE.Mu<R>, A, B> input) <A,B, C> App2 <ForgetE.Mu<R>, Pair<A, C>, Pair<B, C>> ForgetE.Instance.first(App2<ForgetE.Mu<R>, A, B> input) <A,B, C> App2 <ForgetOpt.Mu<R>, Pair<A, C>, Pair<B, C>> ForgetOpt.Instance.first(App2<ForgetOpt.Mu<R>, A, B> input) <A,B, C> App2 <ForgetOpt.Mu<R>, Pair<A, C>, Pair<B, C>> ForgetOpt.Instance.first(App2<ForgetOpt.Mu<R>, A, B> input) <A,B, C> App2 <ReForgetC.Mu<R>, Pair<A, C>, Pair<B, C>> ReForgetC.Instance.first(App2<ReForgetC.Mu<R>, A, B> input) <A,B, C> App2 <ReForgetC.Mu<R>, Pair<A, C>, Pair<B, C>> ReForgetC.Instance.first(App2<ReForgetC.Mu<R>, A, B> input) <A,B, C> App2 <ReForgetEP.Mu<R>, Pair<A, C>, Pair<B, C>> ReForgetEP.Instance.first(App2<ReForgetEP.Mu<R>, A, B> input) <A,B, C> App2 <ReForgetEP.Mu<R>, Pair<A, C>, Pair<B, C>> ReForgetEP.Instance.first(App2<ReForgetEP.Mu<R>, A, B> input) <A,B, C> App2 <ReForgetP.Mu<R>, Pair<A, C>, Pair<B, C>> ReForgetP.Instance.first(App2<ReForgetP.Mu<R>, A, B> input) <A,B, C> App2 <ReForgetP.Mu<R>, Pair<A, C>, Pair<B, C>> ReForgetP.Instance.first(App2<ReForgetP.Mu<R>, A, B> input) <A,B, C> App2 <ForgetE.Mu<R>, Pair<C, A>, Pair<C, B>> ForgetE.Instance.second(App2<ForgetE.Mu<R>, A, B> input) <A,B, C> App2 <ForgetE.Mu<R>, Pair<C, A>, Pair<C, B>> ForgetE.Instance.second(App2<ForgetE.Mu<R>, A, B> input) <A,B, C> App2 <ForgetOpt.Mu<R>, Pair<C, A>, Pair<C, B>> ForgetOpt.Instance.second(App2<ForgetOpt.Mu<R>, A, B> input) <A,B, C> App2 <ForgetOpt.Mu<R>, Pair<C, A>, Pair<C, B>> ForgetOpt.Instance.second(App2<ForgetOpt.Mu<R>, A, B> input) <A,B, C> App2 <ReForgetC.Mu<R>, Pair<C, A>, Pair<C, B>> ReForgetC.Instance.second(App2<ReForgetC.Mu<R>, A, B> input) <A,B, C> App2 <ReForgetC.Mu<R>, Pair<C, A>, Pair<C, B>> ReForgetC.Instance.second(App2<ReForgetC.Mu<R>, A, B> input) <A,B, C> App2 <ReForgetEP.Mu<R>, Pair<C, A>, Pair<C, B>> ReForgetEP.Instance.second(App2<ReForgetEP.Mu<R>, A, B> input) <A,B, C> App2 <ReForgetEP.Mu<R>, Pair<C, A>, Pair<C, B>> ReForgetEP.Instance.second(App2<ReForgetEP.Mu<R>, A, B> input) <A,B, C> App2 <ReForgetP.Mu<R>, Pair<C, A>, Pair<C, B>> ReForgetP.Instance.second(App2<ReForgetP.Mu<R>, A, B> input) <A,B, C> App2 <ReForgetP.Mu<R>, Pair<C, A>, Pair<C, B>> ReForgetP.Instance.second(App2<ReForgetP.Mu<R>, A, B> input) Methods in com.mojang.datafixers.optics with parameters of type PairModifier and TypeMethodDescriptionMethod parameters in com.mojang.datafixers.optics with type arguments of type PairModifier and TypeMethodDescriptionstatic <R,A, B> ReForgetEP <R, A, B> Optics.reForgetEP(String name, Function<Either<A, Pair<A, R>>, B> function) <A,B, C> App2 <ReForget.Mu<R>, A, B> <A,B, C> App2 <ReForget.Mu<R>, A, B> <A,B, C> App2 <ReForget.Mu<R>, A, B> <A,B, C> App2 <ReForget.Mu<R>, A, B> -
Uses of Pair in com.mojang.datafixers.optics.profunctors
Methods in com.mojang.datafixers.optics.profunctors that return types with arguments of type PairModifier and TypeMethodDescriptionMethod parameters in com.mojang.datafixers.optics.profunctors with type arguments of type PairModifier and TypeMethodDescription -
Uses of Pair in com.mojang.datafixers.types
Methods in com.mojang.datafixers.types that return types with arguments of type PairModifier and TypeMethodDescriptionfinal <T> DataResult<Pair<A, Dynamic<T>>> <T> DataResult<Pair<Optional<?>, T>> Type.read(DynamicOps<T> ops, TypeRewriteRule rule, PointFreeRule fRule, T input) <T> DataResult<Pair<Typed<A>, T>> <T> DataResult<Pair<Typed<A>, T>> Type.readTyped(DynamicOps<T> ops, T input) -
Uses of Pair in com.mojang.datafixers.types.templates
Subclasses with type arguments of type Pair in com.mojang.datafixers.types.templatesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classProduct.ProductType<F,G> static final classClasses in com.mojang.datafixers.types.templates that implement interfaces with type arguments of type PairModifier and TypeClassDescriptionprivate static final classprivate static final classFields in com.mojang.datafixers.types.templates with type parameters of type PairModifier and TypeFieldDescriptionprivate final Map<Pair<TypeFamily, Integer>, Type<?>> TaggedChoice.typesMethods in com.mojang.datafixers.types.templates that return PairModifier and TypeMethodDescriptionTaggedChoice.TaggedChoiceType.RewriteFunc.capRuleApply(DynamicOps<?> ops, Pair<K, ?> input, RewriteResult<A, B> result) Methods in com.mojang.datafixers.types.templates that return types with arguments of type PairModifier and TypeMethodDescriptionRewriteResult<List<Pair<K, V>>, ?> CompoundList.CompoundListType.all(TypeRewriteRule rule, boolean recurse, boolean checkIndex) RewriteResult<Pair<String, A>, ?> Named.NamedType.all(TypeRewriteRule rule, boolean recurse, boolean checkIndex) RewriteResult<Pair<F, G>, ?> Product.ProductType.all(TypeRewriteRule rule, boolean recurse, boolean checkIndex) RewriteResult<Pair<K, ?>, ?> TaggedChoice.TaggedChoiceType.all(TypeRewriteRule rule, boolean recurse, boolean checkIndex) FunctionType<Pair<K, ?>, Pair<K, ?>> TaggedChoice.TaggedChoiceType.RewriteFunc.apply(DynamicOps<?> ops) FunctionType<Pair<K, ?>, Pair<K, ?>> TaggedChoice.TaggedChoiceType.RewriteFunc.apply(DynamicOps<?> ops) TaggedChoice.TaggedChoiceType.asEntryPair(K key, MapCodec<V> valueCodec) CompoundList.CompoundListType.buildCodec()Named.NamedType.buildCodec()Product.ProductType.buildCodec()TaggedChoice.TaggedChoiceType.buildCodec()private <A> RewriteResult<Pair<String, A>, ?> Named.cap(TypeFamily family, int index, RewriteResult<A, ?> elementResult) private <S,T, FT, FR>
TypedOptic<Pair<K, ?>, Pair<K, ?>, FT, FR> TaggedChoice.TaggedChoiceType.cap(TaggedChoice.TaggedChoiceType<K> choiceType, K key, TypedOptic<S, T, FT, FR> optic) private <S,T, FT, FR>
TypedOptic<Pair<K, ?>, Pair<K, ?>, FT, FR> TaggedChoice.TaggedChoiceType.cap(TaggedChoice.TaggedChoiceType<K> choiceType, K key, TypedOptic<S, T, FT, FR> optic) private <FT,K2, FR> Either <TypedOptic<List<Pair<K, V>>, ?, FT, FR>, Type.FieldNotFoundException> CompoundList.CompoundListType.capLeft(TypedOptic<K, K2, FT, FR> optic) private <FT,F2, FR> Either <TypedOptic<Pair<F, G>, ?, FT, FR>, Type.FieldNotFoundException> Product.ProductType.capLeft(TypedOptic<F, F2, FT, FR> optic) private <FT,V2, FR> TypedOptic <List<Pair<K, V>>, ?, FT, FR> CompoundList.CompoundListType.capRight(TypedOptic<V, V2, FT, FR> optic) private <FT,G2, FR> TypedOptic <Pair<F, G>, ?, FT, FR> Product.ProductType.capRight(TypedOptic<G, G2, FT, FR> optic) static <K,FT, FR> RewriteResult <Pair<K, ?>, Pair<K, ?>> TaggedChoice.TaggedChoiceType.elementResult(K key, TaggedChoice.TaggedChoiceType<K> type, RewriteResult<FT, FR> result) static <K,FT, FR> RewriteResult <Pair<K, ?>, Pair<K, ?>> TaggedChoice.TaggedChoiceType.elementResult(K key, TaggedChoice.TaggedChoiceType<K> type, RewriteResult<FT, FR> result) <FT,FR> Either <TypedOptic<List<Pair<K, V>>, ?, FT, FR>, Type.FieldNotFoundException> CompoundList.CompoundListType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<Pair<String, A>, ?, FT, FR>, Type.FieldNotFoundException> Named.NamedType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<Pair<F, G>, ?, FT, FR>, Type.FieldNotFoundException> Product.ProductType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) <FT,FR> Either <TypedOptic<Pair<K, ?>, ?, FT, FR>, Type.FieldNotFoundException> TaggedChoice.TaggedChoiceType.findTypeInChildren(Type<FT> type, Type<FR> resultType, Type.TypeMatcher<FT, FR> matcher, boolean recurse) static <A,B> RewriteResult <Pair<String, A>, ?> Named.NamedType.fix(Named.NamedType<A> type, RewriteResult<A, B> instance) private static <K,V, K2> RewriteResult <List<Pair<K, V>>, List<Pair<K2, V>>> CompoundList.CompoundListType.fixKeys(Type<List<Pair<K, V>>> type, Type<K> first, Type<V> second, RewriteResult<K, K2> view) private static <K,V, K2> RewriteResult <List<Pair<K, V>>, List<Pair<K2, V>>> CompoundList.CompoundListType.fixKeys(Type<List<Pair<K, V>>> type, Type<K> first, Type<V> second, RewriteResult<K, K2> view) private static <F,G, F2> RewriteResult <Pair<F, G>, Pair<F2, G>> Product.ProductType.fixLeft(Type<Pair<F, G>> type, Type<F> first, Type<G> second, RewriteResult<F, F2> view) private static <F,G, F2> RewriteResult <Pair<F, G>, Pair<F2, G>> Product.ProductType.fixLeft(Type<Pair<F, G>> type, Type<F> first, Type<G> second, RewriteResult<F, F2> view) private static <F,G, G2> RewriteResult <Pair<F, G>, Pair<F, G2>> Product.ProductType.fixRight(Type<Pair<F, G>> type, Type<F> first, Type<G> second, RewriteResult<G, G2> view) private static <F,G, G2> RewriteResult <Pair<F, G>, Pair<F, G2>> Product.ProductType.fixRight(Type<Pair<F, G>> type, Type<F> first, Type<G> second, RewriteResult<G, G2> view) private static <K,V, V2> RewriteResult <List<Pair<K, V>>, List<Pair<K, V2>>> CompoundList.CompoundListType.fixValues(Type<List<Pair<K, V>>> type, Type<K> first, Type<V> second, RewriteResult<V, V2> view) private static <K,V, V2> RewriteResult <List<Pair<K, V>>, List<Pair<K, V2>>> CompoundList.CompoundListType.fixValues(Type<List<Pair<K, V>>> type, Type<K> first, Type<V> second, RewriteResult<V, V2> view) <K2,V2> RewriteResult <List<Pair<K, V>>, ?> CompoundList.CompoundListType.mergeViews(RewriteResult<K, K2> leftView, RewriteResult<V, V2> rightView) <F2,G2> RewriteResult <Pair<F, G>, ?> Product.ProductType.mergeViews(RewriteResult<F, F2> leftView, RewriteResult<G, G2> rightView) CompoundList.CompoundListType.one(TypeRewriteRule rule) Optional<RewriteResult<Pair<String, A>, ?>> Named.NamedType.one(TypeRewriteRule rule) Optional<RewriteResult<Pair<F, G>, ?>> Product.ProductType.one(TypeRewriteRule rule) Optional<RewriteResult<Pair<K, ?>, ?>> TaggedChoice.TaggedChoiceType.one(TypeRewriteRule rule) CompoundList.CompoundListType.point(DynamicOps<?> ops) Named.NamedType.point(DynamicOps<?> ops) Product.ProductType.point(DynamicOps<?> ops) TaggedChoice.TaggedChoiceType.point(DynamicOps<?> ops) TaggedChoice.TaggedChoiceType.point(DynamicOps<?> ops, K key, Object value) private <T> DataResult<Pair<A, T>> Check.CheckType.read(DynamicOps<T> ops, T input) protected static <A,B, FT, FR>
TypedOptic<Pair<String, A>, Pair<String, B>, FT, FR> Named.NamedType.wrapOptic(String name, TypedOptic<A, B, FT, FR> optic) protected static <A,B, FT, FR>
TypedOptic<Pair<String, A>, Pair<String, B>, FT, FR> Named.NamedType.wrapOptic(String name, TypedOptic<A, B, FT, FR> optic) Methods in com.mojang.datafixers.types.templates with parameters of type PairModifier and TypeMethodDescriptionTaggedChoice.TaggedChoiceType.RewriteFunc.capRuleApply(DynamicOps<?> ops, Pair<K, ?> input, RewriteResult<A, B> result) Method parameters in com.mojang.datafixers.types.templates with type arguments of type PairModifier and TypeMethodDescriptionprivate static <K,V, K2> RewriteResult <List<Pair<K, V>>, List<Pair<K2, V>>> CompoundList.CompoundListType.fixKeys(Type<List<Pair<K, V>>> type, Type<K> first, Type<V> second, RewriteResult<K, K2> view) private static <F,G, F2> RewriteResult <Pair<F, G>, Pair<F2, G>> Product.ProductType.fixLeft(Type<Pair<F, G>> type, Type<F> first, Type<G> second, RewriteResult<F, F2> view) private static <F,G, G2> RewriteResult <Pair<F, G>, Pair<F, G2>> Product.ProductType.fixRight(Type<Pair<F, G>> type, Type<F> first, Type<G> second, RewriteResult<G, G2> view) private static <K,V, V2> RewriteResult <List<Pair<K, V>>, List<Pair<K, V2>>> CompoundList.CompoundListType.fixValues(Type<List<Pair<K, V>>> type, Type<K> first, Type<V> second, RewriteResult<V, V2> view) -
Uses of Pair in com.mojang.datafixers.util
Methods in com.mojang.datafixers.util that return PairModifier and TypeMethodDescriptionstatic <F,S> Pair <F, S> Pair.of(F first, S second) Pair.swap()static <F,S> Pair <F, S> Methods in com.mojang.datafixers.util that return types with arguments of type Pair -
Uses of Pair in com.mojang.serialization
Fields in com.mojang.serialization with type parameters of type PairMethods in com.mojang.serialization that return types with arguments of type PairModifier and TypeMethodDescription<T> DataResult<Pair<A, T>> Codec.ResultFunction.apply(DynamicOps<T> ops, T input, DataResult<Pair<A, T>> a) Dynamic.asMapOpt()DynamicLike.asMapOpt()OptionalDynamic.asMapOpt()Codec.compoundList(Codec<K> keyCodec, Codec<V> elementCodec) <S> DataResult<Pair<T, S>> Codec.RecursiveCodec.decode(DynamicOps<S> ops, S input) <T> DataResult<Pair<A, T>> default <T> DataResult<Pair<A, T>> <T> DataResult<Pair<A, T>> Decoder.decode(DynamicOps<T> ops, T input) <A> DataResult<Pair<A, T>> abstract <A> DataResult<Pair<A, T>> <T> DataResult<Pair<A, T>> MapCodec.MapCodecCodec.decode(DynamicOps<T> ops, T input) <A> DataResult<Pair<A, T>> MapLike.entries()JavaOps.getMapEntries(Map<?, ?> input) DataResult<Stream<Pair<T, T>>> DynamicOps.getMapValues(T input) JavaOps.getMapValues(Object input) DataResult<Stream<Pair<com.google.gson.JsonElement, com.google.gson.JsonElement>>> JsonOps.getMapValues(com.google.gson.JsonElement input) <K,V> DataResult <List<Pair<K, V>>> <K,V> DataResult <List<Pair<K, V>>> default <E> Function<T, DataResult<Pair<E, T>>> DynamicOps.withDecoder(Decoder<E> decoder) Method parameters in com.mojang.serialization with type arguments of type PairModifier and TypeMethodDescription<T> DataResult<Pair<A, T>> Codec.ResultFunction.apply(DynamicOps<T> ops, T input, DataResult<Pair<A, T>> a) com.google.gson.JsonElementMapCodec.dependent(MapCodec<E> initialInstance, Function<A, Pair<E, MapCodec<E>>> splitter, BiFunction<A, E, A> combiner) Dynamic.updateMapValues(Function<Pair<Dynamic<?>, Dynamic<?>>, Pair<Dynamic<?>, Dynamic<?>>> updater) Dynamic.updateMapValues(Function<Pair<Dynamic<?>, Dynamic<?>>, Pair<Dynamic<?>, Dynamic<?>>> updater) Constructor parameters in com.mojang.serialization with type arguments of type Pair -
Uses of Pair in com.mojang.serialization.codecs
Subclasses with type arguments of type Pair in com.mojang.serialization.codecsClasses in com.mojang.serialization.codecs that implement interfaces with type arguments of type PairMethods in com.mojang.serialization.codecs that return types with arguments of type PairModifier and TypeMethodDescriptionDataResult<Pair<List<E>, T>> ListCodec.DecoderState.build()CompoundListCodec.decode(DynamicOps<T> ops, T input) CompoundListCodec.decode(DynamicOps<T> ops, T input) <T> DataResult<Pair<Map<K, V>, T>> DispatchedMapCodec.decode(DynamicOps<T> ops, T input) <T> DataResult<Pair<Either<F, S>, T>> EitherCodec.decode(DynamicOps<T> ops, T input) <T> DataResult<Pair<List<E>, T>> ListCodec.decode(DynamicOps<T> ops, T input) <T> DataResult<Pair<Pair<F, S>, T>> PairCodec.decode(DynamicOps<T> ops, T input) <T> DataResult<Pair<Pair<F, S>, T>> PairCodec.decode(DynamicOps<T> ops, T input) <T> DataResult<Pair<F, S>> PairMapCodec.decode(DynamicOps<T> ops, MapLike<T> input) default <T> DataResult<Pair<A, T>> PrimitiveCodec.decode(DynamicOps<T> ops, T input) <T> DataResult<Pair<Map<K, V>, T>> UnboundedMapCodec.decode(DynamicOps<T> ops, T input) <T> DataResult<Pair<Either<F, S>, T>> XorCodec.decode(DynamicOps<T> ops, T input) Methods in com.mojang.serialization.codecs with parameters of type PairModifier and TypeMethodDescription<T> DataResult<T> PairCodec.encode(Pair<F, S> value, DynamicOps<T> ops, T rest) <T> RecordBuilder<T> PairMapCodec.encode(Pair<F, S> input, DynamicOps<T> ops, RecordBuilder<T> prefix) private <T> DataResult<Unit> DispatchedMapCodec.parseEntry(DataResult<Unit> result, DynamicOps<T> ops, Pair<T, T> input, Map<K, V> entries, Stream.Builder<Pair<T, T>> failed) Method parameters in com.mojang.serialization.codecs with type arguments of type PairModifier and TypeMethodDescription<T> DataResult<T> private <T> DataResult<Unit> DispatchedMapCodec.parseEntry(DataResult<Unit> result, DynamicOps<T> ops, Pair<T, T> input, Map<K, V> entries, Stream.Builder<Pair<T, T>> failed) -
Uses of Pair in net.minecraft.client.gui.font
Methods in net.minecraft.client.gui.font that return types with arguments of type PairModifier and TypeMethodDescriptionprivate static List<Pair<FontManager.BuilderId, GlyphProviderDefinition.Conditional>> FontManager.loadResourceStack(List<Resource> resourceStack, Identifier fontName) -
Uses of Pair in net.minecraft.client.gui.screens.worldselection
Methods in net.minecraft.client.gui.screens.worldselection that return PairModifier and TypeMethodDescriptionprivate @Nullable Pair<Path, PackRepository> CreateWorldScreen.getDataPackSelectionSettings(WorldDataConfiguration dataConfiguration) WorldOpenFlows.recreateWorldData(LevelStorageSource.LevelStorageAccess levelSourceAccess) -
Uses of Pair in net.minecraft.commands.arguments.item
Methods in net.minecraft.commands.arguments.item that return PairModifier and TypeMethodDescriptionstatic Pair<Identifier, Collection<CommandFunction<CommandSourceStack>>> FunctionArgument.getFunctionCollection(CommandContext<CommandSourceStack> context, String name) static Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.getFunctionOrTag(CommandContext<CommandSourceStack> context, String name) Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> FunctionArgument.Result.unwrap(CommandContext<CommandSourceStack> context) FunctionArgument.Result.unwrapToCollection(CommandContext<CommandSourceStack> context) -
Uses of Pair in net.minecraft.nbt
Methods in net.minecraft.nbt that return types with arguments of type PairModifier and TypeMethodDescriptionDataResult<Stream<Pair<Tag, Tag>>> NbtOps.getMapValues(Tag input) Method parameters in net.minecraft.nbt with type arguments of type Pair -
Uses of Pair in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type PairModifier and TypeFieldDescriptionprivate final List<Pair<EquipmentSlot, ItemStack>> ClientboundSetEquipmentPacket.slotsMethods in net.minecraft.network.protocol.game that return types with arguments of type PairConstructor parameters in net.minecraft.network.protocol.game with type arguments of type PairModifierConstructorDescriptionClientboundSetEquipmentPacket(int entity, List<Pair<EquipmentSlot, ItemStack>> slots) -
Uses of Pair in net.minecraft.resources
Methods in net.minecraft.resources that return types with arguments of type PairModifier and TypeMethodDescription<T> DataResult<Pair<HolderSet<E>, T>> HolderSetCodec.decode(DynamicOps<T> ops, T input) <T> DataResult<Pair<Holder<E>, T>> RegistryFileCodec.decode(DynamicOps<T> ops, T input) <T> DataResult<Pair<Holder<E>, T>> RegistryFixedCodec.decode(DynamicOps<T> ops, T input) private <T> DataResult<Pair<HolderSet<E>, T>> HolderSetCodec.decodeWithoutRegistry(DynamicOps<T> ops, T input) DataResult<Stream<Pair<T, T>>> DelegatingOps.getMapValues(T input) Method parameters in net.minecraft.resources with type arguments of type Pair -
Uses of Pair in net.minecraft.server
Methods in net.minecraft.server that return Pair -
Uses of Pair in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type PairModifier and TypeMethodDescriptionprivate static intScheduleCommand.schedule(CommandSourceStack source, Pair<Identifier, Either<CommandFunction<CommandSourceStack>, Collection<CommandFunction<CommandSourceStack>>>> callback, int time, boolean replace) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagArgument.Result<?> name, BlockPos sourcePos, Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, Duration taskDuration) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagKeyArgument.Result<?> name, BlockPos sourcePos, Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, Duration taskDuration) private static intLocateCommand.showLocateResult(CommandSourceStack source, BlockPos sourcePos, Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, String foundName, Duration taskDuration) -
Uses of Pair in net.minecraft.server.level
Fields in net.minecraft.server.level with type parameters of type PairModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.ObjectList<Pair<ThreadedLevelLightEngine.TaskType, Runnable>> ThreadedLevelLightEngine.lightTasksMethods in net.minecraft.server.level that return PairModifier and TypeMethodDescriptionServerLevel.findClosestBiome3d(Predicate<Holder<Biome>> biomeTest, BlockPos origin, int maxSearchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical) Methods in net.minecraft.server.level that return types with arguments of type PairModifier and TypeMethodDescriptionList<Pair<ChunkStatus, @Nullable CompletableFuture<ChunkResult<ChunkAccess>>>> GenerationChunkHolder.getAllFutures() -
Uses of Pair in net.minecraft.util
Subclasses with type arguments of type Pair in net.minecraft.utilFields in net.minecraft.util with type parameters of type PairModifier and TypeFieldDescriptionprivate static final Comparator<Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> HashOps.MAPLIKE_ENTRY_ORDERMethods in net.minecraft.util that return PairModifier and TypeMethodDescription(package private) static Pair<BlockUtil.IntBounds, Integer> BlockUtil.getMaxRectangleLocation(int[] columns) Methods in net.minecraft.util that return types with arguments of type PairModifier and TypeMethodDescriptionHashOps.MapHashBuilder.append(com.google.common.hash.HashCode key, com.google.common.hash.HashCode value, List<Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> builder) <T> DataResult<Pair<Map<K, V>, T>> ExtraCodecs.StrictUnboundedMapCodec.decode(DynamicOps<T> ops, T input) <T> DataResult<Pair<S, T>> StringRepresentable.StringRepresentableCodec.decode(DynamicOps<T> ops, T input) DataResult<Stream<Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>>> HashOps.getMapValues(com.google.common.hash.HashCode input) DataResult<Stream<Pair<Unit, Unit>>> NullOps.getMapValues(Unit input) HashOps.MapHashBuilder.initBuilder()Method parameters in net.minecraft.util with type arguments of type PairModifier and TypeMethodDescriptionHashOps.MapHashBuilder.append(com.google.common.hash.HashCode key, com.google.common.hash.HashCode value, List<Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> builder) protected DataResult<com.google.common.hash.HashCode> HashOps.MapHashBuilder.build(List<Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> builder, com.google.common.hash.HashCode prefix) com.google.common.hash.HashCodeHashOps.createMap(Stream<Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> map) private static com.google.common.hash.HasherHashOps.hashMap(com.google.common.hash.Hasher hasher, Stream<Pair<com.google.common.hash.HashCode, com.google.common.hash.HashCode>> map) -
Uses of Pair in net.minecraft.util.datafix.fixes
Fields in net.minecraft.util.datafix.fixes with type parameters of type PairModifier and TypeFieldDescriptionLeavesFix.Section.blockStateTypeTrialSpawnerConfigInRegistryFix.VanillaTrialChambers.CONFIGS_TO_KEYprivate final OpticFinder<Pair<String, String>> ThrownPotionSplitFix.ItemIdFinder.itemIdFinderThe field for theitemIdFinderrecord component.protected final OpticFinder<List<Pair<String, Dynamic<?>>>> LeavesFix.Section.paletteFinderprivate static final com.google.common.collect.ImmutableMap<String, Pair<String, com.google.common.collect.ImmutableMap<String, String>>> ChunkStructuresTemplateRenameFix.RENAMESMethods in net.minecraft.util.datafix.fixes with type parameters of type PairModifier and TypeMethodDescriptionprivate <C, H extends Pair<String,?>>
TypeRewriteRuleLegacyHoverEventFix.createFixer(Type<C> rawTextComponentType, Type<H> hoverEventType) private <C1, C2, H extends Pair<String,?>>
TypeRewriteRuleTextComponentHoverAndClickEventFix.createFixer(Type<C1> oldRawTextComponentType, Type<C2> newTextComponentType, Type<H> hoverEventType) Methods in net.minecraft.util.datafix.fixes that return PairModifier and TypeMethodDescriptionStructureSettingsFlattenFix.fixDimension(Pair<Dynamic<?>, Dynamic<?>> entry) ItemStackComponentizationFix.fixMapDecoration(Dynamic<?> decoration) LevelDataGeneratorOptionsFix.getLayerInfoFromString(String input) EntityCatSplitFix.getNewNameAndTag(String name, Dynamic<?> tag) EntityElderGuardianSplitFix.getNewNameAndTag(String name, Dynamic<?> tag) EntitySkeletonSplitFix.getNewNameAndTag(String name, Dynamic<?> tag) SimpleEntityRenameFix.getNewNameAndTag(String name, Dynamic<?> tag) MemoryExpiryDataFix.updateMemoryEntry(Pair<Dynamic<?>, Dynamic<?>> memoryEntry) Methods in net.minecraft.util.datafix.fixes that return types with arguments of type PairModifier and TypeMethodDescriptionChunkRenamesFix.appendChunkName(Typed<A> input) protected static Type<? extends Pair<? extends Either<? extends Pair<? extends Either<?, Unit>, ? extends Pair<? extends Either<? extends List<? extends Pair<? extends Either<?, Unit>, Dynamic<?>>>, Unit>, Dynamic<?>>>, Unit>, Dynamic<?>>> protected static Type<? extends Pair<? extends Either<? extends Pair<? extends Either<?, Unit>, ? extends Pair<? extends Either<? extends List<? extends Pair<? extends Either<?, Unit>, Dynamic<?>>>, Unit>, Dynamic<?>>>, Unit>, Dynamic<?>>> protected static Type<? extends Pair<? extends Either<? extends Pair<? extends Either<?, Unit>, ? extends Pair<? extends Either<? extends List<? extends Pair<? extends Either<?, Unit>, Dynamic<?>>>, Unit>, Dynamic<?>>>, Unit>, Dynamic<?>>> protected static Type<? extends Pair<? extends Either<? extends Pair<? extends Either<?, Unit>, ? extends Pair<? extends Either<? extends List<? extends Pair<? extends Either<?, Unit>, Dynamic<?>>>, Unit>, Dynamic<?>>>, Unit>, Dynamic<?>>> LevelDataGeneratorOptionsFix.getLayersInfoFromString(String input) ThrownPotionSplitFix.ItemIdFinder.itemIdFinder()Returns the value of theitemIdFinderrecord component.MissingDimensionFix.optionalFields(String name, Type<A> type) MissingDimensionFix.optionalFields(String name1, Type<A1> type1, String name2, Type<A2> type2) MissingDimensionFix.optionalFields(String name1, Type<A1> type1, String name2, Type<A2> type2) ItemStackComponentizationFix.parseEnchantment(Dynamic<?> entry) Methods in net.minecraft.util.datafix.fixes with parameters of type PairModifier and TypeMethodDescriptionStructureSettingsFlattenFix.fixDimension(Pair<Dynamic<?>, Dynamic<?>> entry) MemoryExpiryDataFix.updateMemoryEntry(Pair<Dynamic<?>, Dynamic<?>> memoryEntry) Method parameters in net.minecraft.util.datafix.fixes with type arguments of type PairModifier and TypeMethodDescriptionprivate <T> TypeRewriteRuleUnflattenTextComponentFix.createFixer(Type<Pair<String, String>> textComponentType, Type<T> newTextComponentType) private Typed<?> BannerEntityCustomNameToOverrideComponentFix.fix(Typed<?> input, OpticFinder<Pair<String, String>> textComponentFinder, OpticFinder<?> customNameFinder) private TypeRewriteRuleChestedHorsesInventoryZeroIndexingFix.horseLikeInventoryIndexingFixer(OpticFinder<Pair<String, Pair<Either<Pair<String, String>, Unit>, Pair<Either<?, Unit>, Dynamic<?>>>>> itemStackFinder, Type<?> schema, String horseId) private TypeRewriteRuleChestedHorsesInventoryZeroIndexingFix.horseLikeInventoryIndexingFixer(OpticFinder<Pair<String, Pair<Either<Pair<String, String>, Unit>, Pair<Either<?, Unit>, Dynamic<?>>>>> itemStackFinder, Type<?> schema, String horseId) private TypeRewriteRuleChestedHorsesInventoryZeroIndexingFix.horseLikeInventoryIndexingFixer(OpticFinder<Pair<String, Pair<Either<Pair<String, String>, Unit>, Pair<Either<?, Unit>, Dynamic<?>>>>> itemStackFinder, Type<?> schema, String horseId) private TypeRewriteRuleChestedHorsesInventoryZeroIndexingFix.horseLikeInventoryIndexingFixer(OpticFinder<Pair<String, Pair<Either<Pair<String, String>, Unit>, Pair<Either<?, Unit>, Dynamic<?>>>>> itemStackFinder, Type<?> schema, String horseId) private Typed<?> VillagerTradeFix.updateItemStack(OpticFinder<Pair<String, String>> idF, Typed<?> itemStack) -
Uses of Pair in net.minecraft.util.profiling.jfr.parse
Methods in net.minecraft.util.profiling.jfr.parse that return types with arguments of type Pair -
Uses of Pair in net.minecraft.util.profiling.jfr.serialize
Method parameters in net.minecraft.util.profiling.jfr.serialize with type arguments of type PairModifier and TypeMethodDescriptionprivate com.google.gson.JsonElementJfrResultJsonSerializer.chunkGen(List<Pair<ChunkStatus, TimedStatSummary<ChunkGenStat>>> chunkGenSummary) -
Uses of Pair in net.minecraft.util.profiling.jfr.stats
Fields in net.minecraft.util.profiling.jfr.stats with type parameters of type PairModifier and TypeFieldDescriptionprivate final List<Pair<T, IoSummary.CountAndSize>> IoSummary.largestSizeContributorsFileIOStat.Summary.topTenContributorsByTotalBytesThe field for thetopTenContributorsByTotalBytesrecord component.Methods in net.minecraft.util.profiling.jfr.stats that return types with arguments of type PairModifier and TypeMethodDescriptionIoSummary.largestSizeContributors()FileIOStat.Summary.topTenContributorsByTotalBytes()Returns the value of thetopTenContributorsByTotalBytesrecord component.Constructor parameters in net.minecraft.util.profiling.jfr.stats with type arguments of type Pair -
Uses of Pair in net.minecraft.world.entity.ai
Fields in net.minecraft.world.entity.ai with type parameters of type PairModifier and TypeFieldDescriptionprivate final Map<Activity, Set<Pair<MemoryModuleType<?>, MemoryStatus>>> Brain.activityRequirementsprivate final com.google.common.collect.ImmutableList<? extends Pair<Integer, ? extends BehaviorControl<? super E>>> ActivityData.behaviorPriorityPairsThe field for thebehaviorPriorityPairsrecord component.private final Set<Pair<MemoryModuleType<?>, MemoryStatus>> ActivityData.conditionsThe field for theconditionsrecord component.Methods in net.minecraft.world.entity.ai that return types with arguments of type PairModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<? extends Pair<Integer, ? extends BehaviorControl<? super E>>> ActivityData.behaviorPriorityPairs()Returns the value of thebehaviorPriorityPairsrecord component.Set<Pair<MemoryModuleType<?>, MemoryStatus>> ActivityData.conditions()Returns the value of theconditionsrecord component.static <E extends LivingEntity>
com.google.common.collect.ImmutableList<? extends Pair<Integer, ? extends BehaviorControl<? super E>>> ActivityData.createPriorityPairs(int priorityOfFirstBehavior, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> behaviorList) Method parameters in net.minecraft.world.entity.ai with type arguments of type PairModifier and TypeMethodDescriptionvoidBrain.addActivity(Activity activity, com.google.common.collect.ImmutableList<? extends Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<Pair<MemoryModuleType<?>, MemoryStatus>> conditions, Set<MemoryModuleType<?>> memoriesToEraseWhenStopped) voidBrain.addActivity(Activity activity, com.google.common.collect.ImmutableList<? extends Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<Pair<MemoryModuleType<?>, MemoryStatus>> conditions, Set<MemoryModuleType<?>> memoriesToEraseWhenStopped) static <E extends LivingEntity>
ActivityData<E> ActivityData.create(Activity activity, int priorityOfFirstBehavior, com.google.common.collect.ImmutableList<? extends BehaviorControl<? super E>> behaviorList, Set<Pair<MemoryModuleType<?>, MemoryStatus>> conditions) static <E extends LivingEntity>
ActivityData<E> ActivityData.create(Activity activity, com.google.common.collect.ImmutableList<? extends Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs) static <E extends LivingEntity>
ActivityData<E> ActivityData.create(Activity activity, com.google.common.collect.ImmutableList<? extends Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<Pair<MemoryModuleType<?>, MemoryStatus>> conditions) static <E extends LivingEntity>
ActivityData<E> ActivityData.create(Activity activity, com.google.common.collect.ImmutableList<? extends Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<Pair<MemoryModuleType<?>, MemoryStatus>> conditions) static <E extends LivingEntity>
ActivityData<E> ActivityData.create(Activity activity, com.google.common.collect.ImmutableList<? extends Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<Pair<MemoryModuleType<?>, MemoryStatus>> conditions, Set<MemoryModuleType<?>> memoriesToEraseWhenStopped) static <E extends LivingEntity>
ActivityData<E> ActivityData.create(Activity activity, com.google.common.collect.ImmutableList<? extends Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<Pair<MemoryModuleType<?>, MemoryStatus>> conditions, Set<MemoryModuleType<?>> memoriesToEraseWhenStopped) Constructor parameters in net.minecraft.world.entity.ai with type arguments of type PairModifierConstructorDescriptionActivityData(Activity activityType, com.google.common.collect.ImmutableList<? extends Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<Pair<MemoryModuleType<?>, MemoryStatus>> conditions, Set<MemoryModuleType<?>> memoriesToEraseWhenStopped) Creates an instance of aActivityDatarecord class.ActivityData(Activity activityType, com.google.common.collect.ImmutableList<? extends Pair<Integer, ? extends BehaviorControl<? super E>>> behaviorPriorityPairs, Set<Pair<MemoryModuleType<?>, MemoryStatus>> conditions, Set<MemoryModuleType<?>> memoriesToEraseWhenStopped) Creates an instance of aActivityDatarecord class. -
Uses of Pair in net.minecraft.world.entity.ai.behavior
Methods in net.minecraft.world.entity.ai.behavior that return PairModifier and TypeMethodDescriptionprivate static Pair<Integer, BehaviorControl<LivingEntity>> VillagerGoalPackages.getFullLookBehavior()private static Pair<Integer, BehaviorControl<LivingEntity>> VillagerGoalPackages.getMinimalLookBehavior()Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type PairModifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList<Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getCorePackage(Holder<VillagerProfession> profession, float speedModifier) static com.google.common.collect.ImmutableList<Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getHidePackage(float speedModifier) static com.google.common.collect.ImmutableList<Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getIdlePackage(float speedModifier) static com.google.common.collect.ImmutableList<Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getMeetPackage(float speedModifier) static com.google.common.collect.ImmutableList<Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPanicPackage(float speedModifier) static com.google.common.collect.ImmutableList<Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPlayPackage(float speedModifier) static com.google.common.collect.ImmutableList<Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getPreRaidPackage(float speedModifier) static com.google.common.collect.ImmutableList<Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRaidPackage(float speedModifier) static com.google.common.collect.ImmutableList<Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getRestPackage(float speedModifier) static com.google.common.collect.ImmutableList<Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage(Holder<VillagerProfession> profession, float speedModifier) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type PairModifier and TypeMethodDescriptionstatic @Nullable Pathstatic <E extends LivingEntity>
OneShot<E> TriggerGate.triggerGate(List<Pair<? extends Trigger<? super E>, Integer>> weightedBehaviors, GateBehavior.OrderPolicy orderPolicy, GateBehavior.RunningPolicy runningPolicy) static <E extends LivingEntity>
OneShot<E> TriggerGate.triggerOneShuffled(List<Pair<? extends Trigger<? super E>, Integer>> weightedTriggers) Constructor parameters in net.minecraft.world.entity.ai.behavior with type arguments of type PairModifierConstructorDescriptionGateBehavior(Map<MemoryModuleType<?>, MemoryStatus> entryCondition, Set<MemoryModuleType<?>> exitErasedMemories, GateBehavior.OrderPolicy orderPolicy, GateBehavior.RunningPolicy runningPolicy, List<Pair<? extends BehaviorControl<? super E>, Integer>> behaviors) RunOne(Map<MemoryModuleType<?>, MemoryStatus> entryCondition, List<Pair<? extends BehaviorControl<? super E>, Integer>> weightedBehaviors) -
Uses of Pair in net.minecraft.world.entity.ai.village.poi
Methods in net.minecraft.world.entity.ai.village.poi that return types with arguments of type PairModifier and TypeMethodDescriptionPoiManager.findAllClosestFirstWithType(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findAllWithType(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findClosestWithType(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) -
Uses of Pair in net.minecraft.world.entity.monster.piglin
Methods in net.minecraft.world.entity.monster.piglin that return types with arguments of type PairModifier and TypeMethodDescriptionprivate static com.google.common.collect.ImmutableList<Pair<OneShot<LivingEntity>, Integer>> PiglinAi.createLookBehaviors() -
Uses of Pair in net.minecraft.world.entity.monster.warden
Fields in net.minecraft.world.entity.monster.warden with type parameters of type PairMethods in net.minecraft.world.entity.monster.warden that return types with arguments of type PairConstructor parameters in net.minecraft.world.entity.monster.warden with type arguments of type Pair -
Uses of Pair in net.minecraft.world.entity.vehicle.minecart
Fields in net.minecraft.world.entity.vehicle.minecart with type parameters of type PairMethods in net.minecraft.world.entity.vehicle.minecart that return Pair -
Uses of Pair in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type PairModifier and TypeFieldDescriptionprotected static final Map<Block, Pair<Predicate<UseOnContext>, Consumer<UseOnContext>>> HoeItem.TILLABLESDeprecated.Forge: This map is patched out of vanilla code.static final com.google.common.collect.ImmutableMap<Block, Pair<RecipeCategory, String>> HoneycombItem.WAXED_RECIPES -
Uses of Pair in net.minecraft.world.item.crafting
Methods in net.minecraft.world.item.crafting that return Pair -
Uses of Pair in net.minecraft.world.item.enchantment
Methods in net.minecraft.world.item.enchantment that return PairModifier and TypeMethodDescriptionEnchantmentHelper.getHighestLevel(ItemStack item, DataComponentType<T> effectType) -
Uses of Pair in net.minecraft.world.level
Fields in net.minecraft.world.level with type parameters of type PairMethods in net.minecraft.world.level that return types with arguments of type PairMethod parameters in net.minecraft.world.level with type arguments of type PairModifier and TypeMethodDescriptionprivate static TicketStorageTicketStorage.fromPacked(List<Pair<ChunkPos, Ticket>> tickets) -
Uses of Pair in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome with type parameters of type PairModifier and TypeFieldDescriptionprivate final List<Pair<Climate.ParameterPoint, T>> Climate.ParameterList.valuesMethods in net.minecraft.world.level.biome that return PairModifier and TypeMethodDescriptionBiomeSource.findBiomeHorizontal(int originX, int originY, int originZ, int searchRadius, int skipSteps, Predicate<Holder<Biome>> allowed, RandomSource random, boolean findClosest, Climate.Sampler sampler) BiomeSource.findBiomeHorizontal(int x, int y, int z, int searchRadius, Predicate<Holder<Biome>> allowed, RandomSource random, Climate.Sampler sampler) FixedBiomeSource.findBiomeHorizontal(int originX, int originY, int originZ, int r, int skipStep, Predicate<Holder<Biome>> allowed, RandomSource random, boolean findClosest, Climate.Sampler sampler) BiomeSource.findClosestBiome3d(BlockPos origin, int searchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical, Predicate<Holder<Biome>> allowed, Climate.Sampler sampler, LevelReader level) FixedBiomeSource.findClosestBiome3d(BlockPos origin, int searchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical, Predicate<Holder<Biome>> allowed, Climate.Sampler sampler, LevelReader level) Methods in net.minecraft.world.level.biome that return types with arguments of type PairMethod parameters in net.minecraft.world.level.biome with type arguments of type PairModifier and TypeMethodDescriptionprotected voidOverworldBiomeBuilder.addBiomes(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes) private voidOverworldBiomeBuilder.addBottomBiome(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter weirdness, float offset, ResourceKey<Biome> biome) private voidOverworldBiomeBuilder.addDebugBiomes(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes) private voidOverworldBiomeBuilder.addHighSlice(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter weirdness) private voidOverworldBiomeBuilder.addInlandBiomes(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes) private voidOverworldBiomeBuilder.addLowSlice(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter weirdness) private voidOverworldBiomeBuilder.addMidSlice(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter weirdness) private voidOverworldBiomeBuilder.addOffCoastBiomes(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes) private voidOverworldBiomeBuilder.addPeaks(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter weirdness) private voidOverworldBiomeBuilder.addSurfaceBiome(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter weirdness, float offset, ResourceKey<Biome> second) private voidOverworldBiomeBuilder.addUndergroundBiome(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter weirdness, float offset, ResourceKey<Biome> biome) private voidOverworldBiomeBuilder.addUndergroundBiomes(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes) private voidOverworldBiomeBuilder.addValleys(Consumer<Pair<Climate.ParameterPoint, ResourceKey<Biome>>> biomes, Climate.Parameter weirdness) static <T> Climate.RTree<T> Climate.RTree.create(List<Pair<Climate.ParameterPoint, T>> values) Constructor parameters in net.minecraft.world.level.biome with type arguments of type Pair -
Uses of Pair in net.minecraft.world.level.block.entity.trialspawner
Methods in net.minecraft.world.level.block.entity.trialspawner that return types with arguments of type PairModifier and TypeMethodDescriptionTrialSpawnerStateData.findPlayerWithOminousEffect(ServerLevel level, List<UUID> inLineOfSightPlayers) -
Uses of Pair in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk that return PairModifier and TypeMethodDescriptionChunkGenerator.findNearestMapStructure(ServerLevel level, HolderSet<Structure> wantedStructures, BlockPos pos, int maxSearchRadius, boolean createReference) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, ServerLevel level, StructureManager structureManager, BlockPos pos, boolean createReference, ConcentricRingsStructurePlacement rings) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, int chunkOriginX, int chunkOriginZ, int radius, boolean createReference, long seed, RandomSpreadStructurePlacement config) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, boolean createReference, StructurePlacement config, ChunkPos chunkTarget) -
Uses of Pair in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools with type parameters of type PairModifier and TypeFieldDescriptionprivate final List<Pair<StructurePoolElement, Integer>> StructureTemplatePool.rawTemplatesMethods in net.minecraft.world.level.levelgen.structure.pools that return types with arguments of type PairConstructor parameters in net.minecraft.world.level.levelgen.structure.pools with type arguments of type PairModifierConstructorDescriptionStructureTemplatePool(Holder<StructureTemplatePool> fallback, List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>> templates, StructureTemplatePool.Projection projection) StructureTemplatePool(Holder<StructureTemplatePool> fallback, List<Pair<StructurePoolElement, Integer>> templates) -
Uses of Pair in net.minecraft.world.level.levelgen.synth
Methods in net.minecraft.world.level.levelgen.synth that return PairModifier and TypeMethodDescriptionPerlinNoise.makeAmplitudes(it.unimi.dsi.fastutil.ints.IntSortedSet octaveSet) Constructors in net.minecraft.world.level.levelgen.synth with parameters of type PairModifierConstructorDescriptionprotectedPerlinNoise(RandomSource random, Pair<Integer, it.unimi.dsi.fastutil.doubles.DoubleList> pair, boolean useNewInitialization) -
Uses of Pair in net.minecraft.world.level.saveddata.maps
Methods in net.minecraft.world.level.saveddata.maps that return PairModifier and TypeMethodDescriptionprivate @Nullable Pair<Holder<MapDecorationType>, Byte> MapItemSavedData.playerDecorationTypeAndRotation(Holder<MapDecorationType> type, @Nullable LevelAccessor level, double yRot, float xDeltaFromCenter, float yDeltaFromCenter) -
Uses of Pair in net.neoforged.neoforge.client
Fields in net.neoforged.neoforge.client with type parameters of type PairModifier and TypeFieldDescriptionprivate static final Map<Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> DimensionTransitionScreenManager.conditionalDimensionEffects -
Uses of Pair in net.neoforged.neoforge.client.entity.animation.json
Fields in net.neoforged.neoforge.client.entity.animation.json with type parameters of type PairModifier and TypeFieldDescriptionprivate static final Codec<Pair<String, AnimationChannel>> AnimationParser.NAMED_CHANNEL_CODEC{ "bone": "head", "keyframes": [ { "timestamp": 0.5, "target": [22.5, 0.0, 0.0], "interpolation": "minecraft:linear" } ], "target": "minecraft:rotation" }Method parameters in net.neoforged.neoforge.client.entity.animation.json with type arguments of type PairModifier and TypeMethodDescriptionprivate static KeyframeAnimationParser.constructKeyframe(float timestamp, Either<Pair<org.joml.Vector3fc, org.joml.Vector3fc>, org.joml.Vector3fc> target, AnimationChannel.Interpolation interpolation) -
Uses of Pair in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type PairModifier and TypeFieldDescriptionprivate final Map<Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> RegisterDimensionTransitionScreenEvent.conditionalDimensionEffectsConstructor parameters in net.neoforged.neoforge.client.event with type arguments of type PairModifierConstructorDescriptionRegisterDimensionTransitionScreenEvent(Map<Pair<ResourceKey<Level>, ResourceKey<Level>>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> conditionalDimensionEffects, Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> toEffects, Map<ResourceKey<Level>, DimensionTransitionScreenManager.ReceivingLevelScreenFactory> fromEffects) -
Uses of Pair in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common that return types with arguments of type PairModifier and TypeMethodDescription<T> DataResult<Pair<Map<K, V>, T>> LenientUnboundedMapCodec.decode(DynamicOps<T> ops, T input) -
Uses of Pair in net.neoforged.neoforge.common.conditions
Methods in net.neoforged.neoforge.common.conditions that return types with arguments of type PairModifier and TypeMethodDescription<T> DataResult<Pair<Optional<WithConditions<A>>, T>> ConditionalOps.ConditionalDecoder.decode(DynamicOps<T> ops, T input) -
Uses of Pair in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util that return types with arguments of type PairModifier and TypeMethodDescription<T1> DataResult<Pair<T, T1>> NeoForgeExtraCodecs.AlternativeCodec.decode(DynamicOps<T1> ops, T1 input) Method parameters in net.neoforged.neoforge.common.util with type arguments of type PairModifier and TypeMethodDescriptionstatic voidAttributeUtil.addPotionTooltip(List<Pair<Holder<Attribute>, AttributeModifier>> list, Consumer<Component> tooltips) Adds tooltip lines for the attribute modifiers contained in aPotionContents. -
Uses of Pair in net.neoforged.neoforge.common.world.chunk
Method parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type PairModifier and TypeMethodDescriptionstatic TicketStorageForcedChunkManager.readStoredTickets(Function<List<Pair<ChunkPos, Ticket>>, TicketStorage> vanillaInitializer, List<Pair<ChunkPos, Ticket>> tickets, List<ForcedChunkManager.OwnedChunks> ownedChunks) Reads any forced chunks we might have previously saved.static TicketStorageForcedChunkManager.readStoredTickets(Function<List<Pair<ChunkPos, Ticket>>, TicketStorage> vanillaInitializer, List<Pair<ChunkPos, Ticket>> tickets, List<ForcedChunkManager.OwnedChunks> ownedChunks) Reads any forced chunks we might have previously saved. -
Uses of Pair in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event with type parameters of type PairConstructor parameters in net.neoforged.neoforge.event with type arguments of type PairModifierConstructorDescriptionModifyDefaultComponentsEvent(Map<Item, Consumer<DataComponentMap.Builder>> modifiersByItem, List<Pair<Predicate<? super Item>, Consumer<DataComponentMap.Builder>>> modifiersByPredicate) -
Uses of Pair in net.neoforged.neoforge.internal
Fields in net.neoforged.neoforge.internal with type parameters of type Pair