Interface FabricValueInput
public interface FabricValueInput
Fabric provided extension of ValueInput.
Note: This interface is automatically implemented on ValueInput via Mixin and interface injection.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanChecks if thisValueInputcontains data under provided key.default Optional<byte[]> Returns an byte array present in thisValueInputunder provided key.default Optional<long[]> Returns an long array present in thisValueInputunder provided key.default Collection<String> keySet()Returns a collection of keys available in thisValueInput.
-
Method Details
-
keySet
Returns a collection of keys available in thisValueInput.- Returns:
- collection of keys or empty list if this
ValueInputis empty.
-
contains
Checks if thisValueInputcontains data under provided key.- Parameters:
key- key to check for- Returns:
- true, when this
ValueInputcontains data under provided key, otherwise false
-
getOptionalLongArray
-
getOptionalByteArray
-