This commit is contained in:
Kam committed 2025-03-13 15:36:30 -04:00
1 parent c81e848895
commit c7a74a3e0e
59 files changed
+506 -592

No files matched your search

@@ -2,11 +2,10 @@ package net.minecraft.block.properties;
import java.util.Collection;
/**
* This code is owned by Minecraft
*/
/** This code is owned by Minecraft */
public interface IProperty<T extends Comparable<T>> {
public interface IProperty<T extends Comparable<T>>
{
String getName();
Collection<T> getAllowedValues();
@@ -17,4 +16,4 @@ public interface IProperty<T extends Comparable<T>> {
* Get the name for the given value.
*/
String getName(T value);
}
}
@@ -6,11 +6,10 @@ import net.minecraft.block.properties.IProperty;
import java.util.Collection;
/**
* This code is owned by Minecraft
*/
/** This code is owned by Minecraft */
public interface IBlockState {
public interface IBlockState
{
Collection<IProperty> getPropertyNames();
<T extends Comparable<T>> T getValue(IProperty<T> property);