Class BlockPosFormatFix

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

public class BlockPosFormatFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/BlockPosFormatFix
intermediary net/minecraft/class_9230
official baw
  • Field Summary

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

    Constructors
    Constructor
    Description
    BlockPosFormatFix(com.mojang.datafixers.schemas.Schema outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    addBlockEntityFixes(List<com.mojang.datafixers.TypeRewriteRule> rules)
     
    private void
    addEntityFixes(List<com.mojang.datafixers.TypeRewriteRule> rules)
     
    private com.mojang.datafixers.TypeRewriteRule
    createFixRule(com.mojang.datafixers.DSL.TypeReference typeReference, String id, Map<String,String> oldToNewKey)
     
    private <T> com.mojang.serialization.Dynamic<T>
    fixMapItemFrames(com.mojang.serialization.Dynamic<T> dynamic)
     
    private com.mojang.datafixers.Typed<?>
    fixOldBlockPosFormat(com.mojang.datafixers.Typed<?> typed, Map<String,String> oldToNewKey)
     
    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

    • PATROL_TARGET_ENTITY_IDS

      private static final List<String> PATROL_TARGET_ENTITY_IDS
      Mappings:
      Namespace Name Mixin selector
      named PATROL_TARGET_ENTITY_IDS Lnet/minecraft/datafixer/fix/BlockPosFormatFix;PATROL_TARGET_ENTITY_IDS:Ljava/util/List;
      intermediary field_49057 Lnet/minecraft/class_9230;field_49057:Ljava/util/List;
      official a Lbaw;a:Ljava/util/List;
  • Constructor Details

    • BlockPosFormatFix

      public BlockPosFormatFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/BlockPosFormatFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_9230;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      official <init> Lbaw;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
  • Method Details

    • fixOldBlockPosFormat

      private com.mojang.datafixers.Typed<?> fixOldBlockPosFormat(com.mojang.datafixers.Typed<?> typed, Map<String,String> oldToNewKey)
      Mappings:
      Namespace Name Mixin selector
      named fixOldBlockPosFormat Lnet/minecraft/datafixer/fix/BlockPosFormatFix;fixOldBlockPosFormat(Lcom/mojang/datafixers/Typed;Ljava/util/Map;)Lcom/mojang/datafixers/Typed;
      intermediary method_56956 Lnet/minecraft/class_9230;method_56956(Lcom/mojang/datafixers/Typed;Ljava/util/Map;)Lcom/mojang/datafixers/Typed;
      official a Lbaw;a(Lcom/mojang/datafixers/Typed;Ljava/util/Map;)Lcom/mojang/datafixers/Typed;
    • fixMapItemFrames

      private <T> com.mojang.serialization.Dynamic<T> fixMapItemFrames(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixMapItemFrames Lnet/minecraft/datafixer/fix/BlockPosFormatFix;fixMapItemFrames(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_56957 Lnet/minecraft/class_9230;method_56957(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbaw;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • makeRule

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

      private void addEntityFixes(List<com.mojang.datafixers.TypeRewriteRule> rules)
      Mappings:
      Namespace Name Mixin selector
      named addEntityFixes Lnet/minecraft/datafixer/fix/BlockPosFormatFix;addEntityFixes(Ljava/util/List;)V
      intermediary method_56958 Lnet/minecraft/class_9230;method_56958(Ljava/util/List;)V
      official a Lbaw;a(Ljava/util/List;)V
    • addBlockEntityFixes

      private void addBlockEntityFixes(List<com.mojang.datafixers.TypeRewriteRule> rules)
      Mappings:
      Namespace Name Mixin selector
      named addBlockEntityFixes Lnet/minecraft/datafixer/fix/BlockPosFormatFix;addBlockEntityFixes(Ljava/util/List;)V
      intermediary method_56963 Lnet/minecraft/class_9230;method_56963(Ljava/util/List;)V
      official b Lbaw;b(Ljava/util/List;)V
    • createFixRule

      private com.mojang.datafixers.TypeRewriteRule createFixRule(com.mojang.datafixers.DSL.TypeReference typeReference, String id, Map<String,String> oldToNewKey)
      Mappings:
      Namespace Name Mixin selector
      named createFixRule Lnet/minecraft/datafixer/fix/BlockPosFormatFix;createFixRule(Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/util/Map;)Lcom/mojang/datafixers/TypeRewriteRule;
      intermediary method_56953 Lnet/minecraft/class_9230;method_56953(Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/util/Map;)Lcom/mojang/datafixers/TypeRewriteRule;
      official a Lbaw;a(Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Ljava/util/Map;)Lcom/mojang/datafixers/TypeRewriteRule;