Class BlockPosFormatAndRenamesFix

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

public class BlockPosFormatAndRenamesFix extends com.mojang.datafixers.DataFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final List<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlockPosFormatAndRenamesFix(com.mojang.datafixers.schemas.Schema p_334085_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    addBlockEntityRules(List<com.mojang.datafixers.TypeRewriteRule> p_331262_)
     
    private void
    addEntityRules(List<com.mojang.datafixers.TypeRewriteRule> p_328667_)
     
    private com.mojang.datafixers.TypeRewriteRule
    createEntityFixer(com.mojang.datafixers.DSL.TypeReference p_328651_, String p_335363_, Map<String,String> p_335843_)
     
    private com.mojang.datafixers.Typed<?>
    fixFields(com.mojang.datafixers.Typed<?> p_329260_, Map<String,String> p_332392_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    fixMapSavedData(com.mojang.serialization.Dynamic<T> p_328964_)
     
    com.mojang.datafixers.TypeRewriteRule
     

    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

    • PATROLLING_MOBS

      private static final List<String> PATROLLING_MOBS
  • Constructor Details

    • BlockPosFormatAndRenamesFix

      public BlockPosFormatAndRenamesFix(com.mojang.datafixers.schemas.Schema p_334085_)
  • Method Details

    • fixFields

      private com.mojang.datafixers.Typed<?> fixFields(com.mojang.datafixers.Typed<?> p_329260_, Map<String,String> p_332392_)
    • fixMapSavedData

      private <T> com.mojang.serialization.Dynamic<T> fixMapSavedData(com.mojang.serialization.Dynamic<T> p_328964_)
    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • addEntityRules

      private void addEntityRules(List<com.mojang.datafixers.TypeRewriteRule> p_328667_)
    • addBlockEntityRules

      private void addBlockEntityRules(List<com.mojang.datafixers.TypeRewriteRule> p_331262_)
    • createEntityFixer

      private com.mojang.datafixers.TypeRewriteRule createEntityFixer(com.mojang.datafixers.DSL.TypeReference p_328651_, String p_335363_, Map<String,String> p_335843_)