Interface EnvironmentAttribute.Converter<V,U>

Type Parameters:
V - the type of the API value
U - the type of the Minecraft value
Enclosing interface:
EnvironmentAttribute<V>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@AsOf("1.1.0") @FunctionalInterface public static interface EnvironmentAttribute.Converter<V,U>
Converts an API value to a Minecraft value.
Since:
1.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(V value)
     
  • Method Details

    • convert

      U convert(V value)