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_332791_, com.mojang.datafixers.Typed<T> p_329826_)
     
    static <T> Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>>
    chainAllFilters(Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>>... p_343226_)
     
    static com.mojang.serialization.Dynamic<?>
    fixBlockPos(com.mojang.serialization.Dynamic<?> p_330445_)
     

    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_330445_)
    • cast

      public static <T, R> com.mojang.datafixers.Typed<R> cast(com.mojang.datafixers.types.Type<R> p_332791_, com.mojang.datafixers.Typed<T> p_329826_)
    • 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_343226_)