Class NoOpQuiltDataFixesInternals
java.lang.Object
org.quiltmc.qsl.frozenblock.misc.datafixerupper.impl.QuiltDataFixesInternals
org.quiltmc.qsl.frozenblock.misc.datafixerupper.impl.NoOpQuiltDataFixesInternals
Modified to work on Fabric
-
Nested Class Summary
Nested classes/interfaces inherited from class org.quiltmc.qsl.frozenblock.misc.datafixerupper.impl.QuiltDataFixesInternals
QuiltDataFixesInternals.DataFixerEntry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull net.minecraft.nbt.CompoundTagaddModDataVersions(@NotNull net.minecraft.nbt.CompoundTag compound) @NotNull com.mojang.datafixers.schemas.Schemavoidfreeze()@Nullable QuiltDataFixesInternals.DataFixerEntrygetFixerEntry(@NotNull String modId) @Nullable QuiltDataFixesInternals.DataFixerEntrygetMinecraftFixerEntry(@NotNull String modId) booleanisEmpty()booleanisFrozen()voidregisterFixer(@NotNull String modId, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int currentVersion, @NotNull com.mojang.datafixers.DataFixer dataFixer) voidregisterMinecraftFixer(@NotNull String modId, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int currentVersion, @NotNull com.mojang.datafixers.DataFixer dataFixer) @NotNull com.mojang.serialization.Dynamic<net.minecraft.nbt.Tag> updateWithAllFixers(@NotNull net.minecraft.util.datafix.DataFixTypes dataFixTypes, @NotNull com.mojang.serialization.Dynamic<net.minecraft.nbt.Tag> dynamic) Methods inherited from class org.quiltmc.qsl.frozenblock.misc.datafixerupper.impl.QuiltDataFixesInternals
get, getModDataVersion, getModMinecraftDataVersion
-
Constructor Details
-
NoOpQuiltDataFixesInternals
public NoOpQuiltDataFixesInternals()
-
-
Method Details
-
registerFixer
public void registerFixer(@NotNull @NotNull String modId, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int currentVersion, @NotNull @NotNull com.mojang.datafixers.DataFixer dataFixer) - Specified by:
registerFixerin classQuiltDataFixesInternals
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classQuiltDataFixesInternals
-
getFixerEntry
@Nullable public @Nullable QuiltDataFixesInternals.DataFixerEntry getFixerEntry(@NotNull @NotNull String modId) - Specified by:
getFixerEntryin classQuiltDataFixesInternals
-
registerMinecraftFixer
public void registerMinecraftFixer(@NotNull @NotNull String modId, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int currentVersion, @NotNull @NotNull com.mojang.datafixers.DataFixer dataFixer) - Specified by:
registerMinecraftFixerin classQuiltDataFixesInternals
-
getMinecraftFixerEntry
@Nullable public @Nullable QuiltDataFixesInternals.DataFixerEntry getMinecraftFixerEntry(@NotNull @NotNull String modId) - Specified by:
getMinecraftFixerEntryin classQuiltDataFixesInternals
-
createBaseSchema
@NotNull public @NotNull com.mojang.datafixers.schemas.Schema createBaseSchema()- Specified by:
createBaseSchemain classQuiltDataFixesInternals
-
updateWithAllFixers
@NotNull public @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) - Specified by:
updateWithAllFixersin classQuiltDataFixesInternals
-
addModDataVersions
@NotNull public @NotNull net.minecraft.nbt.CompoundTag addModDataVersions(@NotNull @NotNull net.minecraft.nbt.CompoundTag compound) - Specified by:
addModDataVersionsin classQuiltDataFixesInternals
-
freeze
public void freeze()- Specified by:
freezein classQuiltDataFixesInternals
-
isFrozen
public boolean isFrozen()- Specified by:
isFrozenin classQuiltDataFixesInternals
-