Class ModelConfigurationWrapper
java.lang.Object
org.cyclops.evilcraft.core.client.model.ModelConfigurationWrapper
- All Implemented Interfaces:
net.minecraftforge.client.model.IModelConfiguration
- Direct Known Subclasses:
ModelConfigurationRetextured
public class ModelConfigurationWrapper
extends Object
implements net.minecraftforge.client.model.IModelConfiguration
Model configuration that wraps over another configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionModelConfigurationWrapper(net.minecraftforge.client.model.IModelConfiguration wrapped) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.renderer.block.model.ItemTransformsnet.minecraft.client.resources.model.ModelStatenet.minecraft.client.resources.model.UnbakedModelbooleangetPartVisibility(net.minecraftforge.client.model.geometry.IModelGeometryPart part) booleangetPartVisibility(net.minecraftforge.client.model.geometry.IModelGeometryPart part, boolean fallback) booleanbooleanbooleanisTexturePresent(String name) net.minecraft.client.resources.model.MaterialresolveTexture(String name) boolean
-
Constructor Details
-
ModelConfigurationWrapper
public ModelConfigurationWrapper(net.minecraftforge.client.model.IModelConfiguration wrapped)
-
-
Method Details
-
getOwnerModel
@Nullable public net.minecraft.client.resources.model.UnbakedModel getOwnerModel()- Specified by:
getOwnerModelin interfacenet.minecraftforge.client.model.IModelConfiguration
-
getModelName
- Specified by:
getModelNamein interfacenet.minecraftforge.client.model.IModelConfiguration
-
isTexturePresent
- Specified by:
isTexturePresentin interfacenet.minecraftforge.client.model.IModelConfiguration
-
resolveTexture
- Specified by:
resolveTexturein interfacenet.minecraftforge.client.model.IModelConfiguration
-
isShadedInGui
public boolean isShadedInGui()- Specified by:
isShadedInGuiin interfacenet.minecraftforge.client.model.IModelConfiguration
-
isSideLit
public boolean isSideLit()- Specified by:
isSideLitin interfacenet.minecraftforge.client.model.IModelConfiguration
-
useSmoothLighting
public boolean useSmoothLighting()- Specified by:
useSmoothLightingin interfacenet.minecraftforge.client.model.IModelConfiguration
-
getCameraTransforms
public net.minecraft.client.renderer.block.model.ItemTransforms getCameraTransforms()- Specified by:
getCameraTransformsin interfacenet.minecraftforge.client.model.IModelConfiguration
-
getCombinedTransform
public net.minecraft.client.resources.model.ModelState getCombinedTransform()- Specified by:
getCombinedTransformin interfacenet.minecraftforge.client.model.IModelConfiguration
-
getPartVisibility
public boolean getPartVisibility(net.minecraftforge.client.model.geometry.IModelGeometryPart part) - Specified by:
getPartVisibilityin interfacenet.minecraftforge.client.model.IModelConfiguration
-
getPartVisibility
public boolean getPartVisibility(net.minecraftforge.client.model.geometry.IModelGeometryPart part, boolean fallback) - Specified by:
getPartVisibilityin interfacenet.minecraftforge.client.model.IModelConfiguration
-