mirror of
https://github.com/GTNewHorizons/GTNHLib.git
synced 2026-11-28 07:35:51 +00:00
Update StateDef.java
This commit is contained in:
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);
|
||||
}
|
||||
Reference in new issue
Block a user