mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-14 17:54:44 +00:00
19 lines
345 B
Java
19 lines
345 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);
|
|
} |