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_307306_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> p_307650_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    insertBlockState(com.mojang.serialization.Dynamic<T> p_307568_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    renameFuse(com.mojang.serialization.Dynamic<T> p_307631_)
     

    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_307306_)
  • Method Details

    • renameFuse

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

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

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