Class ExtraDataFixUtils

java.lang.Object
net.minecraft.util.datafix.ExtraDataFixUtils

public class ExtraDataFixUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T, R> com.mojang.datafixers.Typed<R>
    cast(com.mojang.datafixers.types.Type<R> p_330690_, com.mojang.datafixers.Typed<T> p_331921_)
     
    static <T> Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>>
    chainAllFilters(Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>>... p_344769_)
     
    static com.mojang.serialization.Dynamic<?>
    fixBlockPos(com.mojang.serialization.Dynamic<?> p_326292_)
     

    Methods inherited from class java.lang.Object

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

    • ExtraDataFixUtils

      public ExtraDataFixUtils()
  • Method Details

    • fixBlockPos

      public static com.mojang.serialization.Dynamic<?> fixBlockPos(com.mojang.serialization.Dynamic<?> p_326292_)
    • cast

      public static <T, R> com.mojang.datafixers.Typed<R> cast(com.mojang.datafixers.types.Type<R> p_330690_, com.mojang.datafixers.Typed<T> p_331921_)
    • chainAllFilters

      @SafeVarargs public static <T> Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>> chainAllFilters(Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>>... p_344769_)