Class ModelHelpers
java.lang.Object
org.cyclops.integrateddynamics.core.client.model.ModelHelpers
Several helpers for models.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.client.renderer.block.model.ItemModelGenerator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.renderer.block.model.BlockModelloadModelBlock(net.minecraft.resources.ResourceLocation modelLocation) Read the given facadeModel location to aBlockModel.
-
Field Details
-
MODEL_GENERATOR
public static final net.minecraft.client.renderer.block.model.ItemModelGenerator MODEL_GENERATOR
-
-
Constructor Details
-
ModelHelpers
public ModelHelpers()
-
-
Method Details
-
loadModelBlock
public static net.minecraft.client.renderer.block.model.BlockModel loadModelBlock(net.minecraft.resources.ResourceLocation modelLocation) throws IOException Read the given facadeModel location to aBlockModel.- Parameters:
modelLocation- A facadeModel location (without .json suffix)- Returns:
- The corresponding facadeModel.
- Throws:
IOException- If the facadeModel file was invalid.
-