ModsJava
nThirst | Or how to make the game harder for nothing
Java mod listed for Minecraft 1.14. Downloads from the MC Java Mods app on Android.
⬇ Download on Spigot
Resource moved!
Please go here to download.
Please go here to download.
• Add an option to choose custom drinks and the amount of points that they give. ( @kamutking)
• Add an update check system.
• This presentation.
• /nthirst reload
• /nthirst debug (update gauge)
• /nthirst set <player/number> [number]
• nthirst.reload
• nthirst.debug (default)
• nthirst.set.yourself
• nthirst.set.others
Code (Java):
// Idk how you call this thing but do it
NthirstApi api = new NthirstApi ( ) ;
// Set player's hydration level to something
api. setHydration (Player player, int i ) ;
// Get player's hydration level, it apparently return an int
api. getHydration (Player player ) ;
// Loads a player, like it pick hydration level in the userdata.yml and it stores it in the server cache or something
api. loadPlayer (Player player ) ;
// REVERSE!
api. savePlayer (Player player ) ;
// Is it enough explicit ?
api. sendGauge (Player player ) ;
api. sendEffects (Player player ) ;
// And there's a new event
@EventHandler
public void onThirstChange (PlayerThirstChangeEvent e ) {
if (e. getPlayer ( ). getLocation ( ). getWorld ( ). getName ( ). equals ( "lobby" ) ) e. setCancelled ( true ) ; // It will prevent players from dehydration if they are in the world "lobby"
}
NthirstApi api = new NthirstApi ( ) ;
// Set player's hydration level to something
api. setHydration (Player player, int i ) ;
// Get player's hydration level, it apparently return an int
api. getHydration (Player player ) ;
// Loads a player, like it pick hydration level in the userdata.yml and it stores it in the server cache or something
api. loadPlayer (Player player ) ;
// REVERSE!
api. savePlayer (Player player ) ;
// Is it enough explicit ?
api. sendGauge (Player player ) ;
api. sendEffects (Player player ) ;
// And there's a new event
@EventHandler
public void onThirstChange (PlayerThirstChangeEvent e ) {
if (e. getPlayer ( ). getLocation ( ). getWorld ( ). getName ( ). equals ( "lobby" ) ) e. setCancelled ( true ) ; // It will prevent players from dehydration if they are in the world "lobby"
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.14
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
nThirst | Or how to make the game harder for nothing is a free Minecraft Java mod. Compatible with Minecraft 1.14. Downloaded 152 times (via Spigot). Download it and open it directly in the game.