Package | Description |
---|---|
net.minecraftforge.client.model | |
net.minecraftforge.client.model.data | |
net.minecraftforge.common.property |
Modifier and Type | Field and Description |
---|---|
static ModelProperty<CompositeModel.SubmodelModelData> |
CompositeModel.SUBMODEL_DATA |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ModelProperty<?>,java.lang.Object> |
ModelDataMap.backingMap |
private java.util.Map<ModelProperty<?>,java.lang.Object> |
ModelDataMap.Builder.defaults |
Modifier and Type | Method and Description |
---|---|
<T> T |
EmptyModelData.getData(ModelProperty<T> prop) |
<T> T |
IModelData.getData(ModelProperty<T> prop) |
<T> T |
ModelDataMap.getData(ModelProperty<T> prop) |
boolean |
EmptyModelData.hasProperty(ModelProperty<?> prop) |
boolean |
IModelData.hasProperty(ModelProperty<?> prop)
Check if this data has a property, even if the value is
null . |
boolean |
ModelDataMap.hasProperty(ModelProperty<?> prop) |
<T> T |
EmptyModelData.setData(ModelProperty<T> prop,
T data) |
<T> T |
IModelData.setData(ModelProperty<T> prop,
T data) |
<T> T |
ModelDataMap.setData(ModelProperty<T> prop,
T data) |
<T> ModelDataMap.Builder |
ModelDataMap.Builder.withInitial(ModelProperty<T> prop,
T data) |
ModelDataMap.Builder |
ModelDataMap.Builder.withProperty(ModelProperty<?> prop) |
Constructor and Description |
---|
ModelDataMap(java.util.Map<ModelProperty<?>,java.lang.Object> map) |
Modifier and Type | Field and Description |
---|---|
static ModelProperty<IModelTransform> |
Properties.AnimationProperty
Property holding the IModelState used for animating the model in the TESR.
|