@Environment(value=CLIENT) static class ModelLoader.ModelDefinition extends Object
Modifier and Type | Field and Description |
---|---|
private List<UnbakedModel> |
components |
private List<Object> |
values |
Constructor and Description |
---|
ModelDefinition(List<UnbakedModel> components,
List<Object> values) |
Modifier and Type | Method and Description |
---|---|
static ModelLoader.ModelDefinition |
create(BlockState state,
MultipartUnbakedModel rawModel,
Collection<Property<?>> properties) |
static ModelLoader.ModelDefinition |
create(BlockState state,
UnbakedModel rawModel,
Collection<Property<?>> properties) |
boolean |
equals(Object o) |
private static List<Object> |
getStateValues(BlockState state,
Collection<Property<?>> properties) |
int |
hashCode() |
private final List<UnbakedModel> components
public ModelDefinition(List<UnbakedModel> components, List<Object> values)
public static ModelLoader.ModelDefinition create(BlockState state, MultipartUnbakedModel rawModel, Collection<Property<?>> properties)
public static ModelLoader.ModelDefinition create(BlockState state, UnbakedModel rawModel, Collection<Property<?>> properties)
private static List<Object> getStateValues(BlockState state, Collection<Property<?>> properties)