类 AbstractBlockPropertyFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.AbstractBlockPropertyFix
直接已知子类:
BlockPropertyRenameAndFix, JigsawRotationFix

public abstract class AbstractBlockPropertyFix extends com.mojang.datafixers.DataFix
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    private final String
     
  • 构造器概要

    构造器
    构造器
    说明
    AbstractBlockPropertyFix(com.mojang.datafixers.schemas.Schema p_394621_, String p_394285_)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    private com.mojang.serialization.Dynamic<?>
    fixBlockState(com.mojang.serialization.Dynamic<?> p_394590_)
     
    protected abstract <T> com.mojang.serialization.Dynamic<T>
    fixProperties(String p_393737_, com.mojang.serialization.Dynamic<T> p_394197_)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    protected abstract boolean
    shouldFix(String p_394083_)
     

    从类继承的方法 com.mojang.datafixers.DataFix

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • name

      private final String name
  • 构造器详细资料

    • AbstractBlockPropertyFix

      public AbstractBlockPropertyFix(com.mojang.datafixers.schemas.Schema p_394621_, String p_394285_)
  • 方法详细资料

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      指定者:
      makeRule 在类中 com.mojang.datafixers.DataFix
    • fixBlockState

      private com.mojang.serialization.Dynamic<?> fixBlockState(com.mojang.serialization.Dynamic<?> p_394590_)
    • shouldFix

      protected abstract boolean shouldFix(String p_394083_)
    • fixProperties

      protected abstract <T> com.mojang.serialization.Dynamic<T> fixProperties(String p_393737_, com.mojang.serialization.Dynamic<T> p_394197_)