Class GeometryBakingContextWrapper
java.lang.Object
org.cyclops.evilcraft.core.client.model.GeometryBakingContextWrapper
- All Implemented Interfaces:
net.minecraftforge.client.model.geometry.IGeometryBakingContext
- Direct Known Subclasses:
GeometryBakingContextRetextured
public class GeometryBakingContextWrapper
extends Object
implements net.minecraftforge.client.model.geometry.IGeometryBakingContext
Model configuration that wraps over another configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionGeometryBakingContextWrapper(net.minecraftforge.client.model.geometry.IGeometryBakingContext wrapped) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.resources.model.MaterialgetMaterial(String name) @Nullable net.minecraft.resources.ResourceLocationcom.mojang.math.Transformationnet.minecraft.client.renderer.block.model.ItemTransformsbooleanhasMaterial(String name) booleanisComponentVisible(String component, boolean fallback) booleanisGui3d()booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.client.model.geometry.IGeometryBakingContext
getRenderType
-
Constructor Details
-
GeometryBakingContextWrapper
public GeometryBakingContextWrapper(net.minecraftforge.client.model.geometry.IGeometryBakingContext wrapped)
-
-
Method Details
-
getModelName
- Specified by:
getModelNamein interfacenet.minecraftforge.client.model.geometry.IGeometryBakingContext
-
hasMaterial
- Specified by:
hasMaterialin interfacenet.minecraftforge.client.model.geometry.IGeometryBakingContext
-
getMaterial
- Specified by:
getMaterialin interfacenet.minecraftforge.client.model.geometry.IGeometryBakingContext
-
isGui3d
public boolean isGui3d()- Specified by:
isGui3din interfacenet.minecraftforge.client.model.geometry.IGeometryBakingContext
-
useBlockLight
public boolean useBlockLight()- Specified by:
useBlockLightin interfacenet.minecraftforge.client.model.geometry.IGeometryBakingContext
-
useAmbientOcclusion
public boolean useAmbientOcclusion()- Specified by:
useAmbientOcclusionin interfacenet.minecraftforge.client.model.geometry.IGeometryBakingContext
-
getTransforms
public net.minecraft.client.renderer.block.model.ItemTransforms getTransforms()- Specified by:
getTransformsin interfacenet.minecraftforge.client.model.geometry.IGeometryBakingContext
-
getRootTransform
public com.mojang.math.Transformation getRootTransform()- Specified by:
getRootTransformin interfacenet.minecraftforge.client.model.geometry.IGeometryBakingContext
-
getRenderTypeHint
@Nullable public @Nullable net.minecraft.resources.ResourceLocation getRenderTypeHint()- Specified by:
getRenderTypeHintin interfacenet.minecraftforge.client.model.geometry.IGeometryBakingContext
-
isComponentVisible
- Specified by:
isComponentVisiblein interfacenet.minecraftforge.client.model.geometry.IGeometryBakingContext
-