Everything posted by Novârch
-
[SOLVED][1.15.2] Can't remove effect from entity in ClientTickEvent
Where?
-
[SOLVED][1.15.2] Can't remove effect from entity in ClientTickEvent
I have a custom effect I only want to be applied while a player has an ability active, when that ability isn't active I want to immediately remove the effect from all entities that have it, and every entity in the player's view should have it.
-
[SOLVED][1.15.2] Can't remove effect from entity in ClientTickEvent
I'm trying to remove a potion effect from all entities in a world using ClientWorld#getAllEntities, since this method is in ClientWorld I do it from ClienTickEvent with this code: But it doesn't take the effect away, I suspect potion effects aren't synced to the client and that the second if statement is always false because of it. For more context the class in which this code is being run can be found here as a git repo. Are there better ways to get all entities in a world, or am I doomed to use 8 for Entity entity : World#getEntitiesInAABBexcluding? (1 for every direction)
-
First time modding; missing texture on items
Referenced libraries
-
First time modding; missing texture on items
Please, don't, they're pretty bad. It's better for you to look at vanilla examples and other people's mods like Botania. Don't make base item classes, it'll just be a nuisance when you want to extend something else. Besides that looking at your problem I don't see anything wrong, post more code, preferably as a git repo.
-
Vic's ModernWarfare or OptiFine BUG
1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
-
Make a mob attack only specific players
Capability, PlayerLoggedInEvent and World#rand. Check the double you'll put in the capability in an event, maybe EntityEvent?
-
[1.15.2] [Solved] Stuck while loading custom dimension
Use DimensionType#byName with that (the ResourceLocation).
-
[1.15.2] [Solved] Stuck while loading custom dimension
Here's and example
-
[1.15.2] [Solved] Stuck while loading custom dimension
Here's an example of how I did it in my mod.
-
[1.15.2] How is blindness processed?
Thanks for the help, gotten the exact effect I was looking for!
-
[1.15.2] How is blindness processed?
Than I must've goofed something else up, but I don't know what because I just copied the vanilla FogRenderer code.
-
[1.15.2] How is blindness processed?
Thanks for the help! Everything works fine except this line, and it seems that it's pretty important because nothing renders when I remove it.
-
how can I assign more cpu cores to the forge server?
Because Minecraft is horribly optimized and can't use more than 1 core.
-
how can I assign more cpu cores to the forge server?
You can't.
-
[1.15.2] How is blindness processed?
I'm trying to make a potion effect that combines a few vanilla potion effects, the purpose being being able to easily remove it without removing effects the player might have had prior to getting it, one of these effects is blindness. How does the blindness effect work? Does the game check whether you have it while rendering, can I replicate it's functionality with an event?
-
[SOLVED][1.15.2] Problem with sending players to other dimension in multiplayer
Thanks for all the help! Got it working flawlessly now.
-
How to check what block the player is looking at?
Of course you can't,
-
Installing Forge on Linux
...Run it.
-
Ice and fire crashes on loading
1. A class is missing from the mod, either you installed it wrong or it's on dev. 2. Versions 1.12 and below are no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
-
[1.8.8] MCP Eclipse Crash
1. Remove Optifine and try again. 2. Don't make your own client's. 3. Version 1.12 and lower ARE NO LONGER SUPPORTED ON THIS FORUM. Please update to a modern version of Minecraft to receive support.
-
Seeking useful documentation on ItemStack usage
You know Botania's code is open source, right? If you don't here's it's GitHub page.
-
Installing Forge on Linux
Context is required, just saying "HELP PLEASE!" will get you nowhere.
-
EnderIO Dimensional Transceiver error causes server crash/cant restart
1.7.10 is no longer supported on this forum. Please update to a modern version of Minecarft to receive support.
-
How to check what block the player is looking at?
If at least one of those is something you added raytracing is redundant.
IPS spam blocked by CleanTalk.