Everything posted by DavidM
-
Quite a lazy question
Most of the methods you will use are documented with Javadoc (comments on the method), so you can get a good idea of how to use them by viewing the comments in the source.
-
Can someone make this MorePlayerModels mod work with 1.15.2?
If you want to change the player model and makes it constant (no more changing of the model in-game), then you could use a data pack (or is it called texture pack?) to edit the player model. If you want the player to be able to change his/her player model in-game, then you have to use a mod. Unfortunately I do not know any mod that does that in 1.15.
-
Implementing up(), down(), etc
"Model not found" does not mean the arguments in the JSONs file is wrong, it means that the game cannot find the file. The two problems are not related. Check your path and file names.
-
Implementing up(), down(), etc
You should use 'when' instead if 'if'. Also words like 'north' and 'up' should be all lower case (unless you explicitly set the property name to upper case).
-
Can someone make this MorePlayerModels mod work with 1.15.2?
Mods do not work across Minecraft versions. You will have to rewrite the mod.
-
The forge installer appears as .jar and not as a .exe file
That is supposed to happen. Run the jar file.
-
Busted ass workspace + plus missing some packages.
How did you set up your workspace?
-
Not strictly Forge-related, but...
I personally use photoshop or illustrator. Both of these can configure the paint brush to do pixel art.
-
Help with making sword in 1.15.2 mod
1. Don't create base classes. 2. Don't static initialize registry objects (your item in this case).
-
Player can't teleport (Moved wrongly) [MC 1.15.2]
Please post more of your code. Make sure you are teleporting the player on the server.
-
Where can I find Minecraft src?
They are .java, and they can be found as subclasses of EntityModel.
-
[1.15.2] Can't use attackEntityFrom to fully kill player
Your event bus subscriber is set to client (parameter of the annotation). It will only run on the client distribution.
-
How to override vanilla method
You register stuff under the same registry name as the entry you would like to override. As for the shulker block, you might also have to change the constant under the Blocks class. Your custom shulker block should return an instance of your tile entity in createTileEntity.
-
How to override vanilla method
The approach I would recommend is to replace the vanilla shulker tile entity with a custom one you wrote that accepts all items. There are other ways like ASM, but I don’t recommend it unless you are familiar with it.
-
Problem with Infernal Mobs
You do not have the same problem. Please make your own thread.
-
Freezing an entity in place 1.14.4
Please post logs/code/stacktraces.
-
[1.15.2] Making torches not work in custom dimension (my take + any better solution?)
I would create my own version of torch that does not emit light (possibly naming it "unlit torch" to notify the player) and replace any placed torch block with my custom one.
-
minecraft 1.10.2
“Not supported” means you can still use that version, but if you encountered a problem, the Forge forum will not offer support. Other servers (and anyone) can still use that version.
-
Another Damn Ticking Memory Connection Error - Crashes When I load World
Please read the log. FNAFAddon is the problem. Railcraft just happened to trigger the broken part of FNAFAddon, and removing it might solve the problem temporarily, but the crash will happen again as soon as another mod access the same thing. You can try removing your mod instead of Railcraft, and the crash would no longer persist. Railcraft is trying to access the block state from a stack (which is normal and will be done by many mods), however MCreator screwed up the block state on the block, effectively causing the crash due to not initializing properly. MCreator creates problematic code that 1) has terrible performance 2) cause random crashes due to bad initializations (I.e. static initializations with registry objects) 3) does not have proper sided code and therefore will crash on server 4) cluster up the mod jar with unnecessary code 5) bad coding style. It also claims to be the owner of whatever the user creates according to the license. If you want to make a mod, please learn Java and make a real mod.
-
Another Damn Ticking Memory Connection Error - Crashes When I load World
FnafAddon is made with MCreator and is broken. You should delete it. Oh and 1.12 is no longer supported on these forums. Please update to a modern version of Minecraft to receive support.
-
[CLOSED BY ME] 1.15.2 armor issues
For future reference: Don’t put capitalized letters in your location.
-
Help with Bow accuracy
You can edit the velocity of the arrow.
-
Injecting bytecode into vanilla classes
There are many things that can go wrong with listening to containers. I.E. If a mod implements a backpack or a pedestal holding a single ItemStack and the author decided to not use capability, then the system will be exploited. I've experimented with the food-decaying concept a bit in the past, and the approach I used is to store the world time when the food ItemStack is created in its NBT. Then, override onUpdate to check if currentWorldTime - storedWorldTime > decayTime. This way, even if the food is stored in a chest (or any other place that is not trackable by a listener), once the player takes it out, onUpdate will immediately be invoked and check whether the food should decay.
-
Game Crashing with ExRollerCoaster Mod
Please read the EAQ and post the appropriate log.
-
Help, I can't disable mod
Please read the EAQ and post the appropriate log.
IPS spam blocked by CleanTalk.