Interface When

All Superinterfaces:
Supplier<JsonElement>
All Known Implementing Classes:
When.LogicalCondition, When.PropertyCondition

public interface When extends Supplier<JsonElement>
Mappings:
Namespace Name
official jd
intermediary net/minecraft/class_4918
named net/minecraft/data/client/model/When
  • Method Details

    • validate

      void validate(StateManager<?,​?> stateManager)
      Mappings:
      Namespace Name Mixin selector
      official a Ljd;a(Lckt;)V
      intermediary method_25745 Lnet/minecraft/class_4918;method_25745(Lnet/minecraft/class_2689;)V
      named validate Lnet/minecraft/data/client/model/When;validate(Lnet/minecraft/state/StateManager;)V
    • create

      static When.PropertyCondition create()
      Mappings:
      Namespace Name Mixin selector
      official a Ljd;a()Ljd$c;
      intermediary method_25744 Lnet/minecraft/class_4918;method_25744()Lnet/minecraft/class_4918$class_4921;
      named create Lnet/minecraft/data/client/model/When;create()Lnet/minecraft/data/client/model/When$PropertyCondition;
    • allOf

      static When allOf(When[] conditions)
      Mappings:
      Namespace Name Mixin selector
      official a Ljd;a([Ljd;)Ljd;
      intermediary method_35870 Lnet/minecraft/class_4918;method_35870([Lnet/minecraft/class_4918;)Lnet/minecraft/class_4918;
      named allOf Lnet/minecraft/data/client/model/When;allOf([Lnet/minecraft/data/client/model/When;)Lnet/minecraft/data/client/model/When;
    • anyOf

      static When anyOf(When[] conditions)
      Mappings:
      Namespace Name Mixin selector
      official b Ljd;b([Ljd;)Ljd;
      intermediary method_25746 Lnet/minecraft/class_4918;method_25746([Lnet/minecraft/class_4918;)Lnet/minecraft/class_4918;
      named anyOf Lnet/minecraft/data/client/model/When;anyOf([Lnet/minecraft/data/client/model/When;)Lnet/minecraft/data/client/model/When;