Interface When

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

public interface When
extends Supplier<JsonElement>
Mappings:
Namespace Name
official it
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 Lit;a(Lchu;)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 Lit;a()Lit$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;
    • anyOf

      static When anyOf​(When[] conditions)
      Mappings:
      Namespace Name Mixin selector
      official b Lit;b([Lit;)Lit;
      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;