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 awx
intermediary net/minecraft/class_4754
named net/minecraft/datafixer/fix/WallPropertyFix
  • Field Summary

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

    Constructors
    Constructor
    Description
    WallPropertyFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static String
     
    com.mojang.datafixers.TypeRewriteRule
     
    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 Lawx;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 schema, boolean bool)
  • Method Details

    • makeRule

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

      private static String booleanToWallType(String value)
      Mappings:
      Namespace Name Mixin selector
      official a Lawx;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 Lawx;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 Lawx;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;