Class PrimedTntBlockStateFixer

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.NamedEntityWriteReadFix
net.minecraft.util.datafix.fixes.PrimedTntBlockStateFixer

public class PrimedTntBlockStateFixer extends NamedEntityWriteReadFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    PrimedTntBlockStateFixer(com.mojang.datafixers.schemas.Schema p_310798_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> p_310859_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    insertBlockState(com.mojang.serialization.Dynamic<T> p_309485_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    renameFuse(com.mojang.serialization.Dynamic<T> p_313041_)
     

    Methods inherited from class net.minecraft.util.datafix.fixes.NamedEntityWriteReadFix

    makeRule

    Methods inherited from class com.mojang.datafixers.DataFix

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead

    Methods inherited from class java.lang.Object

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

    • PrimedTntBlockStateFixer

      public PrimedTntBlockStateFixer(com.mojang.datafixers.schemas.Schema p_310798_)
  • Method Details

    • renameFuse

      private static <T> com.mojang.serialization.Dynamic<T> renameFuse(com.mojang.serialization.Dynamic<T> p_313041_)
    • insertBlockState

      private static <T> com.mojang.serialization.Dynamic<T> insertBlockState(com.mojang.serialization.Dynamic<T> p_309485_)
    • fix

      protected <T> com.mojang.serialization.Dynamic<T> fix(com.mojang.serialization.Dynamic<T> p_310859_)
      Specified by:
      fix in class NamedEntityWriteReadFix