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

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

    Constructors
    Constructor
    Description
    WallPropertyFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
     
  • 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> blockStateDynamic)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    updateWallValueReference(com.mojang.serialization.Dynamic<T> propertiesDynamic, String propertyName)
     

    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
      named TARGET_BLOCK_IDS Lnet/minecraft/datafixer/fix/WallPropertyFix;TARGET_BLOCK_IDS:Ljava/util/Set;
      intermediary field_21960 Lnet/minecraft/class_4754;field_21960:Ljava/util/Set;
      official a Lbkb;a:Ljava/util/Set;
  • Constructor Details

    • WallPropertyFix

      public WallPropertyFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/WallPropertyFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_4754;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      official <init> Lbkb;<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
    • booleanToWallType

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

      private static <T> com.mojang.serialization.Dynamic<T> updateWallValueReference(com.mojang.serialization.Dynamic<T> propertiesDynamic, String propertyName)
      Mappings:
      Namespace Name Mixin selector
      named updateWallValueReference Lnet/minecraft/datafixer/fix/WallPropertyFix;updateWallValueReference(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;
      official a Lbkb;a(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> blockStateDynamic)
      Mappings:
      Namespace Name Mixin selector
      named updateWallProperties Lnet/minecraft/datafixer/fix/WallPropertyFix;updateWallProperties(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;
      official a Lbkb;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;