Everything posted by Animefan8888
-
Not loading textures (1.12.2)
This is a no no you aren't applying the model to the item you registered the item the game knows exists. This is also incorrect. You dont need to do item/ironstick. Just itemstick. You should also not create items or any registry type in a static manner. Instead use the ObjectHolder annotation which you can read about on the forge documentation website. Finally CommonProxy is stupid common code can go anywhere replace it with an interface called IProxy or Proxy if you dont like the I prefix.
-
Model for my item is not loading
If you use InteliJ IDEA you need to run the game via the gradle runs I think. Not experienced with IDEA. You should learn Java and your IDE before making mods. Look it up and make sure it is.
-
Model for my item is not loading
How did you setup your workspace? Is your resources folder setup as a source folder? Are your lang files loading? How are you running the client?
-
[SOLVED][1.12.2] New method of registering in game registry questions.
No for the love of all that is modding. Dont do that. Do what was said above use the registry events. My goodness. It isnt that hard.
-
[1.14.4] Some Source Files have "Source not found"
Update your forge.
-
[SOLVED] [1.12.2] Can't get custom block texture to load when placed, but inventory works
A better solution would be to do this instead. // Change public static final HealthBox HEALTH_BOX = new HealthBox(); // TO @ObjectHolder("modid:registry_name") public static final Block HEALTH_BOX = null; And keep the new HealthBox in your Registry Event.
-
[SOLVED] [1.12.2] Can't get custom block texture to load when placed, but inventory works
Post the debug log or the straight console there should be an error.
-
[SOLVED] [1.12.2] Can't get custom block texture to load when placed, but inventory works
Your textures tag isnt needed your model specifies the texture.
-
[1.14.4] Custom IRecipeType
This is my time to shine lol. It would make more sense for the result to be a Json Object and also contain the count tag. Why does this class even exist? You can access all the fields in the BlastingRecipe vanilla provides with its getters. That's all I really have to say. But i could also ask why you are using an IFactory to create your BlastingRecipes instead of just calling the constructor, but it seems Vanilla has them too.
-
[1.14.4] Custom IRecipeType
If you want it to be for the Blast Furnace you probably need to return the BLASTING type instead of the CRAFTING type.
-
[1.14.4] addEnchantment() result only visible on reopen inventory
If you need a bit more direction you need to create a custom packet using the SimpleImpl
-
[1.14.4] Custom IRecipeType
You don't need to do this at all. Why would you want to do that in the first place. Make your own serializer and copy the relevant code. The BlastingRecipe constructor is public you can instantiate one. new BlastingRecipe(...)
-
[1.14.4] Custom IRecipeType
If this is your end goal. Just create an IRecipeSerializer that outputs a BlastingRecipe and register it. Then using its registry name in a recipe file(json) make the recipe you want iron_ore --> iron_ingotx2. And I think you'll want it to be data.minecraft.recipes.iron_ingot_from_blasting.json
-
Will switching Forge versions fix these issues?
You wouldn't but you would have to fix a lot of things. A lot of names were changed and you have to register all your Item models yourself. I'm not sure if the @Config system is implemented but it probably is. Are you using the most up to date forge version?
-
MC 1.14.4 - Unable to find model files
What he said ^^^ Well whoever told you to do that was wrong. Imagine a user with a 100+ mods. Where each of those mods adds a decent sum of blocks all looping through the Blocks Registry to create their BlockItems. That's just ridiculous. I asked to see it for spelling errors we all make them.
-
Forge runClient does not actually load the mod
They are using 1.12.2 How did you setup your workspace.
-
MC 1.14.4 - Unable to find model files
First off this is just horrible. Create your own set of Blocks to loop through don't use the registry. Not sure which part you're asking about. Show your models.blocks in the screenshot too. And give us the latest log.
-
MC 1.14.4 - Unable to find model files
How did you setup your environment and can I get a screenshot of your package explorer.
-
Adding mods to forge environment [1.10.2]
Anything below 1.11.2 is unsupported on this forum.Might even be 1.12.2 at this point.
-
cannot run :decompileMc
This should also be there org.gradle.jvmargs=-Xmx3G Also double check your Java_Home path variable.
-
[1.14.4] LivingExperienceDropEvent not called for PlayerEntity?
Is it called with KeepInventory off? I assume it is only called when the experience points actually drop.
-
MC 1.14.4 - Unable to find model files
Are you using IntelliJ IDEA?
-
[1.14.4] Custom IRecipeType
It's not an IRecipeType you need to register it's an IRecipeSerializer.
-
[1.13.2] Fluid Logging
Your code is looping. Its infinite recursion. Your getFluidState method calls BlockState#getFluidState which calls your method again.
-
[1.14.2] TileEntity (+TileEntityRenderer )
If I'm not mistaking you also have to call the supers on read and write.
IPS spam blocked by CleanTalk.