Update StateDef.java

This commit is contained in:
ah-OOG-ah committed 2025-10-06 12:14:06 -04:00
1 parent fd309d489c
commit 85fcc58eb1
1 file changed
+10 -1
@@ -1,5 +1,14 @@
package com.gtnewhorizon.gtnhlib.json;
public interface StateDef {
import com.gtnewhorizon.gtnhlib.client.model.UnbakedModel;
import java.util.Map;
import org.jetbrains.annotations.Nullable;
public interface StateDef {
/**
* @param properties The blockstate properties as strings
* @return The appropriate model, or null if none match
*/
@Nullable
UnbakedModel selectModel(Map<String, String> properties);
}