LootTable API & Replenishable Lootables Feature

Provides an API to control the loot table for an object.
Also provides a feature that any Lootable Inventory (Chests in Structures)
can automatically replenish after a given time.

This feature is good for long term worlds so that newer players
do not suffer with "Every chest has been looted"

API and Event added to control the Auto Replenish feature for players.
This commit is contained in:
Aikar 2016-05-01 23:54:08 -04:00
parent 594fd61d17
commit 211cba970b
13 changed files with 1186 additions and 62 deletions

View file

@ -56,6 +56,8 @@ import EntitySquid
import EntityWaterAnimal
import FileIOThread
import ItemBlock
import NBTTagCompound
import NBTTagList
import PacketPlayInResourcePackStatus
import PacketPlayInUseEntity
import PacketPlayOutPlayerListHeaderFooter
@ -68,6 +70,7 @@ import PathfinderWater
import PersistentVillage
import RemoteControlListener
import TileEntityEnderChest
import TileEntityLootable
import WorldProvider
cd "$workdir/Spigot/Spigot-Server/"