ArchaeologyLoot 5.46.0
Loot for suspicious sand and gravel. PocketMine has no loot table engine, so this is a fixed copy of the vanilla archaeology tables (each brushing gives one item with the vanilla weights). Some entries are left out: trail ruins common loot only keeps the items PocketMine has (no hanging signs, stained glass panes or leads), and the warm ocean ruins sniffer egg is missing because PocketMine has no sniffer egg.
Methods
normalizeTableName()
php
public static function normalizeTableName(string $lootTable) : stringReturns the table key ("desert_pyramid", "trail_ruins_rare"...) of a vanilla loot table path such as "loot_tables/entities/desert_pyramid_archaeology.json" or "minecraft:archaeology/desert_pyramid".
roll()
php
public static function roll(string $lootTable) : ?\pocketmine\item\ItemRolls one item from the given vanilla archaeology loot table, or returns null if the table is unknown.
