Class FixUtil

java.lang.Object
net.minecraft.datafixer.FixUtil

public class FixUtil extends Object
Mappings:
Namespace Name
named net/minecraft/datafixer/FixUtil
intermediary net/minecraft/class_9228
official azy
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>>
    compose(Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>>[] fixes)
     
    static com.mojang.serialization.Dynamic<?>
    fixBlockPos(com.mojang.serialization.Dynamic<?> dynamic)
     
    static <T, R> com.mojang.datafixers.Typed<R>
    withType(com.mojang.datafixers.types.Type<R> type, com.mojang.datafixers.Typed<T> typed)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FixUtil

      public FixUtil()
  • Method Details

    • fixBlockPos

      public static com.mojang.serialization.Dynamic<?> fixBlockPos(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixBlockPos Lnet/minecraft/datafixer/FixUtil;fixBlockPos(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_56943 Lnet/minecraft/class_9228;method_56943(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lazy;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • withType

      public static <T, R> com.mojang.datafixers.Typed<R> withType(com.mojang.datafixers.types.Type<R> type, com.mojang.datafixers.Typed<T> typed)
      Mappings:
      Namespace Name Mixin selector
      named withType Lnet/minecraft/datafixer/FixUtil;withType(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      intermediary method_57182 Lnet/minecraft/class_9228;method_57182(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
      official a Lazy;a(Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
    • compose

      @SafeVarargs public static <T> Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>> compose(Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>>[] fixes)
      Mappings:
      Namespace Name Mixin selector
      named compose Lnet/minecraft/datafixer/FixUtil;compose([Ljava/util/function/Function;)Ljava/util/function/Function;
      intermediary method_59907 Lnet/minecraft/class_9228;method_59907([Ljava/util/function/Function;)Ljava/util/function/Function;
      official a Lazy;a([Ljava/util/function/Function;)Ljava/util/function/Function;