hea3ven / lib-colladamodel Goto Github PK
View Code? Open in Web Editor NEWA library mod for minecraft that adds the ability to load models and animations from COLLADA assets.
License: GNU Lesser General Public License v3.0
A library mod for minecraft that adds the ability to load models and animations from COLLADA assets.
License: GNU Lesser General Public License v3.0
I try this library with minecraft 1.7.10 and forge 10.13.2.1291. But it will crash in all different cases. Sometime I only use a simple cube with a simple "rotate Z animation"
When I export the same models with blender in obj-wave format by using the AdvancedModelLoader method, then I will never have a problem. Same thing, when I use a very old software for minecraft 1.4.7 (with name "GLLoader" from this website : "http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1284666-1-4-7-3d-loader-minecraft-api") works very well with my models. Because I would use the library for computercraft and / or opencomputers -addon, I also NOT ONLY bind the jar-file on the build-path, I also try your source and put them on my eclipse-environment without any compiler errors, but it will not change anything.
Maybe a problem with the wrapper-method from AdvancedModelLoader ?
Hello !
Since 2 days, I try to deploy workspace with your collada lib and your mod, PandoriaChest.
But in Creative Inventory, when I approached them in Decoration Blocks Tab my client crash like this crash report : http://pastebin.com/55K59hNc
Your help will be really appreciate :D
Have a nice day !
Cordially, Jackblue
Please, add example mod uses your lib.
http://pastebin.com/AXxbFLDp The build script.
http://pastebin.com/h6tbBmAR the crash log
If you need the debug crash log i have that aswell. It's propably just my own stupidity.
java.lang.ClassCastException: com.hea3ven.colladamodel.client.model.Model cannot be cast to com.hea3ven.colladamodel.client.model.collada.IModelAnimationCustom
On method
public IModelAnimationCustom getModel(ResourceLocation resource) {
if (!models.containsKey(resource))
models.put(resource, (IModelAnimationCustom) AdvancedModelLoader.loadModel(resource));
return models.get(resource);
}
How to fix?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.