Everything posted by Animefan8888
-
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.
-
How to make a tool already enchanted?
Update to 1.12.2, this thread is going to be locked by a forums moderator later if your don't. 1.7.10 is not supported on this forum and 1.8.9 support is going away soon.
-
Help with Translucent Block
Post your code. Also override Block#isOpaqueCube(IBlockState).
-
Why my Block doesn't have graphics? [SOLVED]
You should set this to null, the @ObjectHolder annotation injects the instance after registration. You should'nt have models/ in there
-
[1.12.2] [UNSOLVED] TileEntity out of sync, cannot figure out the reason.
Update to a reccomended system. Aka use the IItemHandler capability instead of IInventory.
-
[1.12.2] How to render part of a texture
Look at any gui.
-
[1.12.2]Problem with .json and textures
Are you calling that method in your ModelRegistryEvent for your item?
IPS spam blocked by CleanTalk.