mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-14 16:44:43 +00:00
21 lines
350 B
Java
21 lines
350 B
Java
package net.minecraft.block.properties;
|
|
|
|
import java.util.Collection;
|
|
|
|
/**
|
|
* This code is owned by Minecraft
|
|
*/
|
|
|
|
public interface IProperty<T extends Comparable<T>> {
|
|
String getName();
|
|
|
|
Collection<T> getAllowedValues();
|
|
|
|
Class<T> getValueClass();
|
|
|
|
/**
|
|
* Get the name for the given value.
|
|
*/
|
|
String getName(T value);
|
|
}
|