Everything posted by Draco18s
-
[1.12.2]Problem with changing the HeldItem of an Entity
My guess is that you're somehow modifying tasks or targetTasks from within the AI task itself (e.g. by calling setCombatTask()). This is a no-no as you modify a list while that list is being iterrated over, invalidating the iteration (was the item removed already iterated over? if so, do we need to somehow "undo" it? was the item added supposed to be iterated over? The JVM can't answer these questions).
-
[1.12.2] Crash when using HarvestDropsEvent
What happens when water washes away grass and flowers? A Harvest event is fired where event.getHarvester() is null.
-
can't run minecraft from eclipse
This is an antipattern. There is no reason you should need to extend Item in this manner.
-
[1.12.2] Ladders
Also What does this even mean?
-
[1.12.2]Problem with texture???
Make your textures square.
-
[1.12.2]Problem with texture???
- Change Display Name
https://stackoverflow.com/questions/513832/how-do-i-compare-strings-in-java- Capability implemented in tile entity but returning null
Oh my god ffs. You were right, I was using the local te instead of the global te variable. So frustrating. Thanks You realize the thing you did doesn't fucking matter because you passed null to the constructor, right? both this.tileentity and tileentity are null. Changing tileentity to this.tileentity on the second line doesn't change that fact.- Capability implemented in tile entity but returning null
What. Why do you have a global variable?- Forge Multi-layer on a custom door: Can it be done?
You don't. Blockstates work like this: 1) You, in your block class, tell Minecraft what properties (and possible values) your block has 2) You, in a blockstate file, map these property-value keys to model and texture definitions (or other such values)- Custom Trees
Or you could tell the statemapper "these properties can be ignored."- Forge Multi-layer on a custom door: Can it be done?
Data was though. Data has always been a thing. JSON is just a format for data that's a blend of easy for a human to read and easy for computers to deal with.- Help with BlockState model?
An array of 1 is not the same as an object. Yes you do need them.- Help with BlockState model?
You can't tell the difference between those two pieces of code? https://json-schema.org/understanding-json-schema/reference/array.html- Help with BlockState model?
If you're getting an error, then it's wrong. Your code: "normal": { "model": "crystalweapons:crystalore" } What's expected: "normal": [{ "model": "crystalweapons:crystalore" }]- Help with BlockState model?
The error says that a portion of it deserialized as an Object when something else was expected. Probably an array.- Help with BlockState model?
Your JSON file is wrong.- Limit frame rate code-side only
You need to multiply this value by the deltaTime between frames (after dividing out the deltaTime at 75 fps). I'm not sure where you'd get that value, though.- The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED.
You're still in the wrong place, as this board (the one called Modder Support) is for the people who make mods, not the people who use them. And the exception that got thrown (a Concurrent Modification Exception, meaning either: (a) a loop modified the list its iterating over or (b) thread safety) is one of a kind that is not necessarily repeatable. Particularly the type of class (b) dealing with thread safety. That is: it will crash unexpectedly and randomly. So "it worked before" isn't really true, all that was true was that it hadn't yet crashed. One of your mods is broken. The only person who can help you is the person that wrote it.- The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED.
What part of: Did you not understand?- extra planets crash
Go talk to the developer of Extra Planets.- 1.12 ItemTooptipEvent
You've got everything wrong. 1) You haven't registered an event handler 2) Your event handler method has the wrong signature 3) The method signature you do seem to have is the one from the Item class.- 1.12.2 Adding Mechanics to an Existing Enchantment
That's not how extending a class works. Depending on what, exactly, you want to do, there are a number of ways to achieve it. You just have to tell us what you want to do.- Custom Chest
That's not how IItemHandler works.- [1.12.2] Registering blocks with metadata
Look at ItemMultiTexture and ItemCloth - Change Display Name
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.