Everything posted by Animefan8888
-
[Solved] [1.12.2] How to handle exceptions in constructors
My bad sent this as I received your message.
-
[Solved] [1.12.2] How to handle exceptions in constructors
Force them to use a Block or Ite instance then you can limit that by making methods that add them, but only take a Block or an Item. Hence why I said And make the constructor of the OreDictManager be protected so only classes extending it or in the same package can access instances of it.
-
[Solved] [1.12.2] How to handle exceptions in constructors
I dont see why this is a problem actually, are you the only one using this code? If so then you should know that the only two types it can accept are Blocks and Items. Ultimately you could make two classes that extend your OreDictManager that explicitly uses Item and Block respectively and possibly make your OreDictManager abstract unless there won't be a difference between the two functionally.
-
Help with json texture errors for 1.12.2
- Help with json texture errors for 1.12.2
Post the log.- Animate Custom Block Models
You should use the Animation System, I have a tutorial about this on this forum it is here. It explains how to use it, hopefully decently well. If you have any questions ask.- [1.12.2] I can't enchant my item??
What type of item? ItemTool, ItemPickaxe, Item? What is its parent class?- Damaging Item in Event consumes it
It's a two byte number.- Damaging Item in Event consumes it
Yes that is what I had written before. But then I edited it because I remembered it was saved as a short value and read as a short value because that is the closest thing to its size.- TileEntity Animation System Explanation
- My custom Frost Walker Enchantment doesn't recover the block after some time [solved]
The yes it is obviously your block, and the problem may be that the string in your @ObjectHolder annotation doesn't match its registry name?- Items Texture issue
Cool beans, I'm happy for you.- Damaging Item in Event consumes it
That number is too big actually. There is a max amount the max damage can be which is like a short, I'm not quite sure.- My custom Frost Walker Enchantment doesn't recover the block after some time [solved]
I'm sure that it is the null instance that you are using as an entity that is null. Try using the player.- Only one of my ores generating
You should switch over to using one WorldGenerator, create two fields in one class and call runGeneration on both.- Only one of my ores generating
There is a code block button looks like this <> and a spoiler block button, please use them.- Damaging Item in Event consumes it
Try stepping through your code in the debugger of your IDE it will show you exactly what is going on.- Only one of my ores generating
You dont have to. But that is what most people do. Use a switch case statement or an if statement. Post your code for the FireOreGen and WaterOreGen classes- [SOLVED]Biome Generation
Look at the java doc above the class. But I believe you lower it.- [SOLVED]Biome Generation
Change the number 10- My custom Frost Walker Enchantment doesn't recover the block after some time [solved]
Something is null on line 69 of ModEnchantments- [SOLVED]Biome Generation
Then change the rarity. Cant help if you dont post code.- [1.12.2] MultiPart Entity Interaction Help
Yes I meant the latter. Instead of doing new MultiPartEntity do new EntityTest.- [1.12.2] MultiPart Entity Interaction Help
Well you didn't do what I said.- [1.12.2] MultiPart Entity Interaction Help
Post your code - Help with json texture errors for 1.12.2
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.