Class BlockEntitySignTextStrictJsonFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceFix
net.minecraft.datafixer.fix.BlockEntitySignTextStrictJsonFix

public class BlockEntitySignTextStrictJsonFix
extends ChoiceFix
  • Field Summary

    Fields
    Modifier and Type Field Description
    static Gson GSON  
  • Constructor Summary

    Constructors
    Constructor Description
    BlockEntitySignTextStrictJsonFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)  
  • Method Summary

    Modifier and Type Method Description
    private com.mojang.serialization.Dynamic<?> fix​(com.mojang.serialization.Dynamic<?> dynamic, String lineName)  
    protected com.mojang.datafixers.Typed<?> transform​(com.mojang.datafixers.Typed<?> inputType)  

    Methods inherited from class net.minecraft.datafixer.fix.ChoiceFix

    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
  • Field Details

    • GSON

      public static final Gson GSON
  • Constructor Details

    • BlockEntitySignTextStrictJsonFix

      public BlockEntitySignTextStrictJsonFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
  • Method Details

    • fix

      private com.mojang.serialization.Dynamic<?> fix​(com.mojang.serialization.Dynamic<?> dynamic, String lineName)
    • transform

      protected com.mojang.datafixers.Typed<?> transform​(com.mojang.datafixers.Typed<?> inputType)
      Specified by:
      transform in class ChoiceFix