Everything posted by Animefan8888
-
Some Ghost-Block-Rendering Related Questions [1.12.2]
That's what I thought did you try what I suggested above?
-
Help with Translucent Block
Posting to github will help a lot at debugging.
-
Help with Translucent Block
The package is net.minecraft.block not net.minecraftforge.block It is Minecraft code, Mojang allows modding, but the only way to mod something is to interact with there code. In this case Forge provides code that you can look at, but not edit. And applies some changes though asm, and patches so you can view them.
-
Issue With ModelLoader Code
Ummm no, this should remove your error @Override public void registerItemRender(Item item, int meta, String id) { ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), id)); }
-
Help with Translucent Block
Minecraft code
-
Issue With ModelLoader Code
Your method has two { at the beginning.
-
Some Ghost-Block-Rendering Related Questions [1.12.2]
@Tschipp Under what conditions are you rendering, is this for a block that your mod makes or just as a placement identifier?
-
IFuelHandler deprecated??
public class ItemExample extends Item { private int burnTime; // This is a field/variable created in a class not a local field/varaible. // You should take an int into your constructor that allows that this field is set to. // And then override getItemBurnTime and return this value }
-
Some Ghost-Block-Rendering Related Questions [1.12.2]
If one works for one and another works for the other one, check if the block is opaque and use the one that works for that.
-
IFuelHandler deprecated??
Probably Your IDE should be saying that this is an error because getItemBurnTime takes an ItemStack not an int. And this is a local variable instead of a class field. This should be returned in getItemBurnTime.
-
How to make a tool already enchanted?
Its ItemBlock not itemBlock.
-
IFuelHandler deprecated??
Yes I understand, and that is why I said this.
-
Exception Ticking Wor;d
Your registerWorldChunkManager doesn't set the worldChunkMgr and it doesn't call the super which does set it. You have commented them out.
-
Exception Ticking Wor;d
Your WorldProvider classes.
-
IFuelHandler deprecated??
If you were to look at GameRegistry.addFuelHandler it would point you to Item#getItemBurnTIme which is a method you need to override in your Item class.
-
Set Item to burn & burn time
Please don't necropost and make your own topic. This thread will be locked by a moderator later.
-
Exception Ticking Wor;d
I see you have some custom Biome(s) and Dimension(s) theses are probably what is causing it. What was the last thing you did before it crashed. And based on the crash report either the WorldProvider or the ChunkManager for your Dimension is null.
-
How to make a tool already enchanted?
Does it still print the error?
-
How to make a tool already enchanted?
You forgot the comma at the end of your parent tag.
-
Exception Ticking Wor;d
Post your code.
-
How to make a tool already enchanted?
Where ever you want...anywhere in your workspace. You can make a class anywhere you want and extend or implement what ever you want.
-
How to make a tool already enchanted?
Java Creating an Implementation
-
How to make a tool already enchanted?
I'm gonna need more information than "I need help", post your code/what you have. And what you specifically need help with.
-
Copy item stack capabilities
Merge them all into one cap.
-
How to make a tool already enchanted?
Then to do this you will want to create a custom implementation of IRecipeFactory and read a modified recipe json that applies an enchantment or multiple enchantments. And then return an IRecipe that has the result with the enchantment. And then for the creative tab Item you need to call setHasSubtypes(true) in your Items constructor. And then override getSubItems() which will add an ItemStack that has the enchantment on it, and only adds it if the creative tab matches.
IPS spam blocked by CleanTalk.