mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 22:27:32 +00:00
23 lines
644 B
Java
23 lines
644 B
Java
package net.minecraft.block.state;
|
|
|
|
import com.google.common.collect.ImmutableMap;
|
|
import java.util.Collection;
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.block.properties.IProperty;
|
|
|
|
/** This code is owned by Minecraft */
|
|
|
|
public interface IBlockState
|
|
{
|
|
Collection<IProperty> getPropertyNames();
|
|
|
|
<T extends Comparable<T>> T getValue(IProperty<T> property);
|
|
|
|
<T extends Comparable<T>, V extends T> IBlockState withProperty(IProperty<T> property, V value);
|
|
|
|
<T extends Comparable<T>> IBlockState cycleProperty(IProperty<T> property);
|
|
|
|
ImmutableMap<IProperty, Comparable> getProperties();
|
|
|
|
Block getBlock();
|
|
} |