Skip to content
matejdro edited this page Nov 2, 2013 · 9 revisions

Potions format example: (items that restore your hydration - must be edible!)

Potions:
  # Water bottle
  '373:0':
    normal: 20
    saturation: 10
  # Milk bucket
  '335':
    normal: 30
    saturation: 5
  # Fire potion I (there are many different versions)
  '373:8259':
    normal: 30
    saturation: 15
  '373:8259':
    normal: 30
    saturation: 15
  '373:8227':
    normal: 30
    saturation: 15
  #Any other potion
  '373':
    normal: 5
    saturation: 11

Worlds format example:

Worlds:
  world:
    '257':
      Drain: -1
      LavaDrain: -1
      FireDrain: -1
  world_nether:
    '63':
      Drain: 1
      FireDrain: 5
      LavaDrain: 10
      startingMF: 2
    '32':
      Drain: 2
      FireDrain: 10
      LavaDrain: 20
      StartingMF: 3
    '16':
      Drain: 3
      FireDrain: 15
      LavaDrain: 30
      StartingMF: 1

In any world you can define different layers. In above example, nether has 3 layers, one begins when Y is below 63, one when Y is below 32 etc. Normal world has only one layer below 257 ensuring that whole world gets inside and drain is negative meaning player will gain hydration.

Drain means how much hydration player looses every second. It can be floating point (for example 0.1). FireDrain is how much hydration player looses every second when on fire. LavaDrain is how much hydration player looses every second when in lava.

Only one drain is used at once (for example when in lava, only LavaDrain will be drained, not FireDrain or Drain).

Notifications format:

Notifications:
	'20': "Your hydration is below 20!"
	'10': "Your hydration is below 10!"

When player's hydration goes under specified value for the first time, configured message will be displayed.

Clone this wiki locally