Waila Inhibitors
This mod brings some challenge and restriction to the Waila Mod. This is done by inhibiting or altering the Waila HUD under certain circumstances.
This project is sponsored by Nodecraft. Use code Darkhax for 30% off your first month of service!
Features
- The Blindness status effect will prevent the Waila HUD from displaying.
- The Nausea/Confusion effect will cause info for entities and blocks to be unreliable.
- When the player is in dark areas, the Waila HUD will be prevented from displaying.
- Fully customizable through configuration file.
- Enforced Server Side
FAQ
Q: How does this mod function, in terms of servers?
A: This mod does not have any features on the server side of things, and the features of this mod will still function on servers without it installed. That being said, there are no adverse effects when installing this mod on a server, and doing so will require all connecting players to have this mod installed.
Q: What does Enforced Server Side mean?
A: This means that if a server has this mod installed, connecting users will require this mod to also be installed. While this is typically the norm for Minecraft mods, the Waila mod, and many of it's addons are "Client Side Optional", this means that the clients connecting to a server that has the mod installed, will not require to have that mod installed. Given the nature of this mod, that is NOT the case, and clients are required to have the mod installed.
Q: What mods are required in order for this mod to run?
A: This mod depends on the Waila mod, and the Waila Events mod. Both mods will have to be installed before you can use this mod.
Q: Can I use this mod in my modpack?
A: Yes, this mod is licensed under the MIT License.
ty i will use this :P
I really dig this with my modpack. The only concern I have is even in broad daylight, under trees and such it still disables waila. Any way to leviate this a bit? I know worlds in the day don't really emit light levels. Unless I have something that removes BL levels? Hardcore darkness maybe? That be weird.
This plus dynamic lighting makes it that more fun :p
This is actually very amazing! I'll be adding it to my Private Modpack!
Thanks, I am glad you like it.
Yes, the idea is ingenious and one-of-a-kind!
Restrictions on having Waila shown is an awesome idea.
When teleporting oneself above the block limit, the game crashes, stating:
---- Minecraft Crash Report ----
// Why is it breaking :(
Time: 9/21/15 12:13 AM
Description: Unexpected error
java.lang.ArrayIndexOutOfBoundsException: 18
at net.minecraft.world.chunk.Chunk.func_76629_c(Chunk.java:745)
at net.darkhax.wailainhib.util.Utilities.getBlockLightLevel(Utilities.java:27)
I'm getting this crash (on startup) when I add your mod to my huge list of mods. If you would like me to do some better testing please tell me.
Have you installed the WailaEvents coremod? It has some important "hacks" for the Waila mod, which this mod depends on.
Facepalm, I totally forgot that one. Great mod by the way.
This is really awesome, got any more info or pictures of the effects during confusion? That's the effect that most interests me.
There is now a video showing off all of the mod. It's fairly short, and embedded in the mod page.
Ahh, I see. Thought about making it less of a jumble and more of a seeded algorithm, so looking at a specific block will always show you the same result for the duration? Note that that doesn't have to be a "all stone is now diamond ore" as you could seed it with the block's position as well. It could even cycle once a second, if you seeded it with a timestamp divided down.
That way instead of being "obviously useless" it makes the player have to stop and think for a fraction.
That would definitely be possible, however the issue with that, would be that it requires a map of fake blocks to be generated. While this is very easy to do, it's not very resource friendly. Probably wouldn't cause lag, but there is no need to be wasteful. There are a few mathematical tricks I could use to work around that issue, however they would all have some degree of order to them. Also, how would a seeded map work for entities? I could assign them a random entity id, however that would then require packets and other networking, which would again be fairly wasteful of the users resources, and the servers. Some ideas I had, were to make the hud not switch as fast as it currently does, or to instead rewrite all of the hud text using the obfuscated text option.
Not sure how to handle entities offhand, but what I was thinking for blocks was just something along the lines of:
Obviously a few shortcuts there for readability. The 255 just keeps it within the range of vanilla blocks (should be 197, actually), but it just means that the randomly chosen block is fixed based on where it is in the world, but you could add "world.getWorldtime()/20" to make it cycle every 20 ticks, too.
Anyway, was just an idea. :) The whole "unreadable mess" thing goes back to Roguelikes and I was never fond of the idea. As instead of being confused or hallucinating, and only getting blatantly useless information, I always thought it'd be cooler if I was given reliably wrong information. That is, information that doesn't change, but is inaccurate.
On server-side enforced: Can a server send out a config file for WI to use while talking to that server?
At this time, there is no special code to enforce config options. This is definitely something I will be working on for the next release of the mod.
Please some pictures! (dark areas effect!)
The picture of this would literally just be WAILA not displaying... what even would you expect an image to show?
How about the confusion effect? :)
While this is likely not how the dark is handled, but I could totally see the standard WAILA hud being visible, but the information displayed being either completely blank, or with a fake block called "Too Dark to See."