IBlockState .java

net.minecraft.block.state.IBlockState (interface, 22 lines): members: getPropertyNames, withProperty, cycleProperty, getProperties, getValue, getBlock.

net.minecraft.block.stateinterface22 linescommon605 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (2)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

IBlockState.java22 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.block.state;
2
3
import com.google.common.collect.ImmutableMap;
4
import java.util.Collection;
5
import net.minecraft.block.Block;
6
import net.minecraft.block.properties.IProperty;
7
8
public interface IBlockState
9
{
10
    Collection<IProperty> getPropertyNames();
11
12
    <T extends Comparable<T>> T getValue(IProperty<T> property);
13
14
    <T extends Comparable<T>, V extends T> IBlockState withProperty(IProperty<T> property, V value);
15
16
    <T extends Comparable<T>> IBlockState cycleProperty(IProperty<T> property);
17
18
    ImmutableMap<IProperty, Comparable> getProperties();
19
20
    Block getBlock();
21
}
22

Deobfuscated MCP 1.8.9 source of IBlockState from Marcelektro/MavenMCP-1.8.9 (net/minecraft/block/state/IBlockState.java), stored verbatim.