Everything posted by Messorix
-
[1.10.2] Block orientation based on player
I'd like to have my flux furnace and flux grinder to face the player when they are placed, just like the vanilla furnace does. Sadly, I can't figure it out, because apparently the rotation is handled by code that I can't find. I'd like to focus on the flux furnace first, since the model for the flux grinder is more complicated. My flux_furnace.json: { "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", "parent": "block/orientable", "textures": { "0": "messycore:blocks/flux_furnace_rest", "1": "messycore:blocks/flux_furnace_front" }, "elements": [ { "name": "Flux Furnace", "from": [ 0.0, 0.0, 0.0 ], "to": [ 16.0, 16.0, 16.0 ], "faces": { "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "south": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "up": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "down": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] } } } ] }
-
[1.10.2] The type com.google.common.reflect.TypeToken cannot be resolved.
I am dumb... I didn't read the posts in front of the last one so I never saw that I needed to be in the guava library... It is fixed now. Thank you so much
-
[1.10.2] The type com.google.common.reflect.TypeToken cannot be resolved.
Why do I do when the package I'm missing is not in the folder he described?
-
[1.10.2] The type com.google.common.reflect.TypeToken cannot be resolved.
Did you mean this?
-
[1.10.2] The type com.google.common.reflect.TypeToken cannot be resolved.
In eclipse itself. This is what it looks like
-
[1.10.2] The type com.google.common.reflect.TypeToken cannot be resolved.
I can't even run my mod, so there is no error log for this one...
-
[1.10.2] The type com.google.common.reflect.TypeToken cannot be resolved.
I get this error at the most ridiculous times and it seems fully random to me as well. Right now I'm getting the error on "test" in the constructor package com.messy.core.items; import net.minecraft.item.Item; public class ModItem extends Item { public ModItem(String unlocalizedName, String test) { this.setUnlocalizedName(unlocalizedName); } } Does anyone have a clue on the cause of this?
-
[1.10.2] New item will not render
That did the trick Any recommendations on 1.10.2 tutorials?
-
[1.10.2] New item will not render
This is all I have in the copper_ingot.json located in assets.messycore.models.item { "parent": "builtin/generated", "textures": { "layer0":"messycore:items/copper_ingot" } "display": { "thirdperson_righthand": { "rotation": [ -90, 0, 0 ], "translation": [ 0, 1, -3 ], "scale": [ 0.55, 0.55, 0.55 ] }, "firstperson_righthand": { "rotation": [ 0, -135, 25 ], "translation": [ 0, 4, 2 ], "scale": [ 1.7, 1.7, 1.7 ] } } }
-
[1.10.2] New item will not render
After following the tutorial by bedrockminer, I have come to a part that my item just wont render at all. I have followed all the steps precariously, but I keep getting errors depending on the changes I try. I'm wrestling with github and eclipse to make my code visible, so tips on that would be welcome too The error I have right now, with the same code as the tutorial, is as follows: [11:27:51] [Client thread/ERROR] [FML]: Exception loading model for variant messycore:copper_ingot#inventory for item "messycore:copper_ingot", normal location exception: net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model messycore:item/copper_ingot with loader VanillaLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.loadItemModels(ModelLoader.java:317) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadVariantItemModels(ModelBakery.java:170) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:147) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:132) [simpleReloadableResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:113) [simpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:799) [Minecraft.class:?] at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:338) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:561) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_102] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_102] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_102] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_102] 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_102] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_102] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_102] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_102] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?]
IPS spam blocked by CleanTalk.