Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static IBakedModel loadModel()
- {
- try
- {
- final IModel mod = ModelLoaderRegistry.getModel(new ResourceLocation(Constants.MOD_ID, "models/block/blockInfoPoster"));
- final IModelState state = mod.getDefaultState();
- return mod.bake(state, DefaultVertexFormats.BLOCK, ModelLoader.defaultTextureGetter());
- }
- catch (final Exception e)
- {
- Log.getLogger().error("Error loading infoPoster texture", e);
- }
- return null;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement