Interface OperatorBuilder.ITypeValidator

Enclosing class:
OperatorBuilder<O>

public static interface OperatorBuilder.ITypeValidator
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.chat.MutableComponent
    Check the given input value types for this operator.
  • Method Details

    • validateTypes

      net.minecraft.network.chat.MutableComponent validateTypes(OperatorBase operator, IValueType[] input)
      Check the given input value types for this operator.
      Parameters:
      operator - The operator that is being validated.
      input - The ordered input value types.
      Returns:
      An error or null if valid.