@Environment(value=CLIENT) public class MultipartModelComponent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MultipartModelComponent.Deserializer |
Modifier and Type | Field and Description |
---|---|
private WeightedUnbakedModel |
model |
private MultipartModelSelector |
selector |
Constructor and Description |
---|
MultipartModelComponent(MultipartModelSelector selector,
WeightedUnbakedModel model) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
WeightedUnbakedModel |
getModel() |
Predicate<BlockState> |
getPredicate(StateManager<Block,BlockState> stateFactory) |
int |
hashCode() |
private final MultipartModelSelector selector
private final WeightedUnbakedModel model
public MultipartModelComponent(MultipartModelSelector selector, WeightedUnbakedModel model)
public WeightedUnbakedModel getModel()
public Predicate<BlockState> getPredicate(StateManager<Block,BlockState> stateFactory)