Files
Paper/paper-api/src/main/java/org/bukkit/util/Consumer.java
Bukkit/Spigot eae60ccc96 Implement pre-spawn API to allow modifications to spawned entities.
See preceding commit for why this change was included.

By: Xor Boole <mcyoung@mit.edu>
2016-12-06 21:38:05 +11:00

18 lines
348 B
Java

package org.bukkit.util;
/**
* Represents an operation that accepts a single input argument and returns no
* result.
*
* @param <T> the type of the input to the operation
*/
public interface Consumer<T> {
/**
* Performs this operation on the given argument.
*
* @param t the input argument
*/
void accept(T t);
}