Interface When

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

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

    • validate

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

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

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

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