Files
CustomNPC-Plus/src/api/java/net/minecraft/block/properties/IProperty.java
T
2022-11-25 15:54:03 -05:00

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);
}