Class QuiltDataFixesInternals

java.lang.Object
org.quiltmc.qsl.frozenblock.misc.datafixerupper.impl.QuiltDataFixesInternals
Direct Known Subclasses:
NoOpQuiltDataFixesInternals, QuiltDataFixesInternalsImpl

@Internal public abstract class QuiltDataFixesInternals extends Object
Modified to work on Fabric
  • Constructor Details

    • QuiltDataFixesInternals

      public QuiltDataFixesInternals()
  • Method Details

    • getModDataVersion

      @Contract(pure=true) public static @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int getModDataVersion(@NotNull @NotNull net.minecraft.nbt.CompoundTag compound, @NotNull @NotNull String modId)
    • getModMinecraftDataVersion

      @Contract(pure=true) public static @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int getModMinecraftDataVersion(@NotNull @NotNull net.minecraft.nbt.CompoundTag compound, @NotNull @NotNull String modId)
    • get

      @NotNull public static @NotNull QuiltDataFixesInternals get()
    • registerFixer

      public abstract void registerFixer(@NotNull @NotNull String modId, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int currentVersion, @NotNull @NotNull com.mojang.datafixers.DataFixer dataFixer)
    • isEmpty

      public abstract boolean isEmpty()
    • getFixerEntry

      @Nullable public abstract @Nullable QuiltDataFixesInternals.DataFixerEntry getFixerEntry(@NotNull @NotNull String modId)
    • registerMinecraftFixer

      public abstract void registerMinecraftFixer(@NotNull @NotNull String modId, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int currentVersion, @NotNull @NotNull com.mojang.datafixers.DataFixer dataFixer)
    • getMinecraftFixerEntry

      @Nullable public abstract @Nullable QuiltDataFixesInternals.DataFixerEntry getMinecraftFixerEntry(@NotNull @NotNull String modId)
    • createBaseSchema

      @Contract(value="-> new", pure=true) @NotNull public abstract @NotNull com.mojang.datafixers.schemas.Schema createBaseSchema()
    • updateWithAllFixers

      @NotNull public abstract @NotNull com.mojang.serialization.Dynamic<net.minecraft.nbt.Tag> updateWithAllFixers(@NotNull @NotNull net.minecraft.util.datafix.DataFixTypes dataFixTypes, @NotNull @NotNull com.mojang.serialization.Dynamic<net.minecraft.nbt.Tag> dynamic)
    • addModDataVersions

      @NotNull public abstract @NotNull net.minecraft.nbt.CompoundTag addModDataVersions(@NotNull @NotNull net.minecraft.nbt.CompoundTag compound)
    • freeze

      public abstract void freeze()
    • isFrozen

      @Contract(pure=true) public abstract boolean isFrozen()