promotional bannermobile promotional banner

Better Sleeping

Modifying how beds work in Minecraft

File Details

BetterSleeping-1.7.10-0.7

  • R
  • Mar 19, 2015
  • 121.50 KB
  • 662
  • 1.7.10

File Name

BetterSleeping-1.7.10-0.7.jar

Supported Versions

  • 1.7.10

Added new mechanic CAFFEINE:

When you eat/drink something it checks oredict for entries of this item. If it matches anything from config (foodCoffee, ... - check config) it will:

    - remove a bit of your tiredness (= makes you less sleepy)

    - add a bit of caffeine levels (= makes you a bit of nausey)

 

If you drink too much caffeine you get nausea effect (can be configured at which level)

If you drink even more caffeine you die from caffeine intoxication

 

If the used Item is a type of ItemFood (= most of the food) and matches the oredict it calculates the values (multipliers can be configured)

If the used item is an oredict match BUT is not a type of ItemFood, it uses default values (can be set in config as well).

 

The values may be very modpack specific - definitely if some mod changes food hunger and saturation values! If you have such mod make sure to edit the multiplicators in the config!

 

If should work with any mod that properly uses oredict (for example Pam's HarvestCraft). :-)

 

for developers: There has been a change to the API to reflect the new mechanic! Also removed direct access to tiredness, added getters/setters now, same for the caffeination.