Added Minecraft Source to be adapted later

This is only for experimental purposes
This commit is contained in:
KAMKEEL committed 2021-05-11 18:14:31 -04:00
1 parent 63f448b67d
commit 8028dde5ae
4 files changed
+572

No files matched your search

@@ -0,0 +1,23 @@
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();
}