Custom model not working

Started by ImNotUnintelligent on

Topic category: Help with modding (Java Edition)

Last seen on 01:04, 6. May 2022
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom model not working

I made a new portal model and i made sure i used the java/json model type but it turns purple and black when i create the block... I tried to use and obj but it decided to be masive and the textures didnt work...

just a portalIf you have any way of fixing this that would be great...

Also a follow up question: How would I get if a player is falling because im trying to make him not take fall damage but it seems the override fall distance doesnt work, because I dont know when the player is falling.

Last seen on 20:00, 16. Apr 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im having this EXACT same…
Wed, 10/16/2019 - 16:07

Im having this EXACT same error

Last seen on 01:04, 6. May 2022
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well I hope this…
Wed, 10/16/2019 - 16:18

Well I hope this misunderstanding helped you!

 

Last seen on 01:04, 6. May 2022
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok so the log says vanilla…
Wed, 10/16/2019 - 20:38

Ok so the log says vanilla model cant have non-vanilla parent...

Any Ideas?

16:38.04 [main/ERROR] [FML]: Exception loading model for variant equanox:flamecactus#normal for blockstate "equanox:flamecactus" net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model equanox:flamecactus#normal with loader VariantLoader.INSTANCE, skipping    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:161
) ~[ModelLoaderRegistry.class:?]    at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:235
) ~[ModelLoader.class:?]    at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153
) ~[ModelBakery.class:?]    at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:223
) ~[ModelLoader.class:?]    at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:150
) ~[ModelLoader.class:?]    at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28
) [ModelManager.class:?]    at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121
) [SimpleReloadableResourceManager.class:?]    at net.minecraft.client.Minecraft.init(Minecraft.java:559
) [Minecraft.class:?]    at net.minecraft.client.Minecraft.run(Minecraft.java:421
) [Minecraft.class:?]    at net.minecraft.client.main.Main.main(Main.java:118
) [Main.class:?]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62
) ~[?:1.8.0_222]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43
) ~[?:1.8.0_222]    at java.lang.reflect.Method.invoke(Method.java:498
) ~[?:1.8.0_222]    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135
) [launchwrapper-1.12.jar:?]    at net.minecraft.launchwrapper.Launch.main(Launch.java:28
) [launchwrapper-1.12.jar:?]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62
) ~[?:1.8.0_222]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43
) ~[?:1.8.0_222]    at java.lang.reflect.Method.invoke(Method.java:498
) ~[?:1.8.0_222]    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97
) [start/:?]    at GradleStart.main(GradleStart.java:25
) [start/:?] Caused by: java.lang.IllegalStateException: vanilla model 'net.minecraft.client.renderer.block.model.ModelBlock@22a9170c' can't have non-vanilla parent    at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.getTextures(ModelLoader.java:393
) ~[ModelLoader$VanillaModelWrapper.class:?]    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:171
) ~[ModelLoaderRegistry.class:?]    at net.minecraftforge.client.model.ModelLoader$WeightedRandomModel.<init>(ModelLoader.java:658
) ~[ModelLoader$WeightedRandomModel.class:?]    at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1176
) ~[ModelLoader$VariantLoader.class:?]    at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:157
) ~[ModelLoaderRegistry.class:?]    ... 21 more