Class WallPropertyFix

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

public class WallPropertyFix
extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official ama
intermediary net/minecraft/class_4754
named net/minecraft/datafixer/fix/WallPropertyFix
  • Field Summary

    Fields
    Modifier and Type Field Description
    private static Set<String> TARGET_BLOCK_IDS  
  • Constructor Summary

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

    Modifier and Type Method Description
    private static String booleanToWallType​(String value)  
    com.mojang.datafixers.TypeRewriteRule makeRule()  
    private static <T> com.mojang.serialization.Dynamic<T> updateWallProperties​(com.mojang.serialization.Dynamic<T> dynamic)  
    private static <T> com.mojang.serialization.Dynamic<T> updateWallValueReference​(com.mojang.serialization.Dynamic<T> dynamic, String string)  

    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

    • TARGET_BLOCK_IDS

      private static final Set<String> TARGET_BLOCK_IDS
      Mappings:
      Namespace Name Mixin selector
      official a Lama;a:Ljava/util/Set;
      intermediary field_21960 Lnet/minecraft/class_4754;field_21960:Ljava/util/Set;
      named TARGET_BLOCK_IDS Lnet/minecraft/datafixer/fix/WallPropertyFix;TARGET_BLOCK_IDS:Ljava/util/Set;
  • Constructor Details

    • WallPropertyFix

      public WallPropertyFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lama;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_4754;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      named <init> Lnet/minecraft/datafixer/fix/WallPropertyFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
  • Method Details

    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
      Mappings:
      Namespace Name Mixin selector
      official makeRule Lama;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      intermediary makeRule Lnet/minecraft/class_4754;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      named makeRule Lnet/minecraft/datafixer/fix/WallPropertyFix;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
    • booleanToWallType

      private static String booleanToWallType​(String value)
      Mappings:
      Namespace Name Mixin selector
      official a Lama;a(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_24326 Lnet/minecraft/class_4754;method_24326(Ljava/lang/String;)Ljava/lang/String;
      named booleanToWallType Lnet/minecraft/datafixer/fix/WallPropertyFix;booleanToWallType(Ljava/lang/String;)Ljava/lang/String;
    • updateWallValueReference

      private static <T> com.mojang.serialization.Dynamic<T> updateWallValueReference​(com.mojang.serialization.Dynamic<T> dynamic, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lama;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
      intermediary method_24324 Lnet/minecraft/class_4754;method_24324(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
      named updateWallValueReference Lnet/minecraft/datafixer/fix/WallPropertyFix;updateWallValueReference(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
    • updateWallProperties

      private static <T> com.mojang.serialization.Dynamic<T> updateWallProperties​(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lama;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_24323 Lnet/minecraft/class_4754;method_24323(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named updateWallProperties Lnet/minecraft/datafixer/fix/WallPropertyFix;updateWallProperties(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;