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

    Modifier and Type
    Method
    Description
    private void
    addBlockEntityRules(List<com.mojang.datafixers.TypeRewriteRule> p_326031_)
     
    private void
    addEntityRules(List<com.mojang.datafixers.TypeRewriteRule> p_326170_)
     
    private com.mojang.datafixers.TypeRewriteRule
    createEntityFixer(com.mojang.datafixers.DSL.TypeReference p_326126_, String p_326263_, Map<String,String> p_326382_)
     
    private com.mojang.datafixers.Typed<?>
    fixFields(com.mojang.datafixers.Typed<?> p_326273_, Map<String,String> p_326439_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    fixMapSavedData(com.mojang.serialization.Dynamic<T> p_326466_)
     
    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_326146_)
  • Method Details

    • fixFields

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

      private <T> com.mojang.serialization.Dynamic<T> fixMapSavedData(com.mojang.serialization.Dynamic<T> p_326466_)
    • 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_326170_)
    • addBlockEntityRules

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

      private com.mojang.datafixers.TypeRewriteRule createEntityFixer(com.mojang.datafixers.DSL.TypeReference p_326126_, String p_326263_, Map<String,String> p_326382_)