-
Notifications
You must be signed in to change notification settings - Fork 8
Home
bottleO is a plugin that allows players to spend xp and glass bottles to create the bottle o' enchanting item, it also modifies the amount of xp yielded by throwing said item, it uses the 1.2.5 enchanting system as of v0.6.
Player must spend 25 xp to make each bottle and receive 25 xp per bottle o' enchanting thrown.
When players (left or right) click on an enchanting table with glass bottles in their hand, 25*X xp is removed and their level / exp progress is adjusted accordingly. X is calculated as follows:
- Initially X = the number of bottles in their hand
- If the player does not have 25*X xp it is adjusted downwards to (total_xp - (total_xp MOD 25))/25;
- If the player does not have enough xp to make 1 bottle nothing happens.
Players must wait 5 seconds between making (1-64) bottles, this timer also starts when they log on. If a player attempts to make bottles before the timer has expired, they are presented with a message telling them how much longer to wait.
Upon successfully creating the items players receive a 40 tick (2 seconds at normal tick rate) slowness potion effect which slows their movement and limits their field of view. This is purely aesthetic and has no game-play purpose.
If the player's inventory is full and the player does not have enough xp to use all the glass bottles in their hand then the surplus glass bottles are dropped where the player is standing and the bottle o' enchanting items are placed in their hand.
Players can craft 1 emerald into 9 exp bottles and 9 exp bottles 1 emerald as of v0.7