Everything posted by Animefan8888
-
is it possible to change a var in another mod's class?
If you are making an addons for that mod and have access to the class then all you have to do is subscribe to the GuiOpenEvent and replace the Gui with your own Gui.
-
is it possible to change a var in another mod's class?
You should instead elaborate on your problem more, there might be a way to do what you want without having to do what you have stated.
-
Can someone help me?
It is no longer supported, it will never be supported again
-
Minecraft attack speed or attack cooldown
Don't worry as soon as 1.13 is out I will attempt a good modding tutorial for it, and hopefully the plague will end.
-
Minecraft attack speed or attack cooldown
Step one delete the class step to iterate through your items step three call ModelLoader.setCustomModelResourceLocation on all the items in your ModelRegistryEvent.
-
Can someone help me?
Doesnt exist in 1.10
-
Can someone help me?
Read about capabilities.
-
Can someone help me?
1.7.10 is how many years old now? And if this is 1.8 how many years old is that? We dont support any versions below 1.9.x and soon that will be gone too.
-
Can someone help me?
No, update.
-
[1.12.2] Replace world renderer
I agree with draco18s, so to tell you how to do the reflection part, ReflectionHelper has a setField or setValue. No replacing vanilla code just the instance that houses it.
-
[1.12.2] Entity extending EntityThrowable not rendering correctly
No, there is no need simple iterating through your Item instances and calling ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory")); Is enough
-
PathNodeType being an enum is a big problem for custom path finding
I have not seen this, however you could probably look for the mcp(minecraft coder pack for 1.13 and check. No. This is too bug of a change. Use reflection and add another entry to the enum. Look at how the EnumHelper class does it if you need an example.
-
[1.12.2] Entity extending EntityThrowable not rendering correctly
@PhilipChonacky IHasModel is a terrible method of applying a model to an Item. All Items have models and all the required information to register a model to an item is public. You can just register the item in the ModelRegistryEvent by calling your ClientProxy method from there. However on to your actual problem. I have to theories one being since you call the super method in onUpdate the default behavior applies. Or it's the fact that you are only setting the entity to dead on the server(might be synced, unsure). I believe the first one has a higher probability. Try stepping through the code in the debugger to find out what is happening.
-
Check which button is set
Take a look at the code, you can look in any of the Minecraft or forge classes.
-
Check which button is set
Minecraft#keyBindings I believe is the field where the information about keybindings is stored.
-
[1.12] Layer of gravel under custom dimension and remove bedrock
Ok. Now can you see how to prevent it, what boolean can you change?
-
[1.12] Layer of gravel under custom dimension and remove bedrock
Did you step through past your code into the vanilla code that is spawning the gravel?
-
[1.12] Layer of gravel under custom dimension and remove bedrock
What did you find out? Also just in case.
-
[1.12] Layer of gravel under custom dimension and remove bedrock
Step through it in the debugger. You've also given no context when is this method called. In your Biome code? A structure generation? Your ChunkGenerator?
-
[1.12] Make torch burn out
You'll have to make your own block that is the unlit torch.
-
Forge doesn't find my texture???
Sometimes there is an extra "clause" that gives more information. I was mainly looking for the exact file path it was looking in. But my next logical check would be, did you refresh eclipses/ideas files.
-
Forge doesn't find my texture???
Is that the whole error or is there a part that says caused by below that part.
-
Forge doesn't find my texture???
Did it say anything in the console about a missing texture? Also are you sure that your draw method is being called?
-
[1.12.2] Accurately render high-speed projectile
Isn't that what you are already doing? The motion variables in the entity class are velocity, and the entities position is its position. So the partial ticks multiplied by the motion variable + the position would result in the same thing.
-
[1.12.2] Accurately render high-speed projectile
Using partial ticks and doubles is probably the best you can do to animate something in minecraft. Since it wasn't designed for something to move that fast within normal conditions.
IPS spam blocked by CleanTalk.