Class CopperGolemWeatherStateFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.NamedEntityFix
net.minecraft.util.datafix.fixes.CopperGolemWeatherStateFix

public class CopperGolemWeatherStateFix extends NamedEntityFix
  • Field Summary

    Fields inherited from class NamedEntityFix

    entityName, type
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.Typed<?>
    fix(com.mojang.datafixers.Typed<?> entity)
     
    private static com.mojang.serialization.Dynamic<?>
    fixWeatherState(com.mojang.serialization.Dynamic<?> value)
     

    Methods inherited from class NamedEntityFix

    makeRule

    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 Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CopperGolemWeatherStateFix

      public CopperGolemWeatherStateFix(com.mojang.datafixers.schemas.Schema outputSchema)
  • Method Details

    • fix

      protected com.mojang.datafixers.Typed<?> fix(com.mojang.datafixers.Typed<?> entity)
      Specified by:
      fix in class NamedEntityFix
    • fixWeatherState

      private static com.mojang.serialization.Dynamic<?> fixWeatherState(com.mojang.serialization.Dynamic<?> value)