Skip to content

pocketmine\loot ​

Classes ​

NameKindSummary
JavaEnchantment 5.46.0classA Java Edition enchantment definition (data/minecraft/enchantment/*
LootCompiler 5.46.0classTurns the vanilla loot table JSON (Java Edition 26
LootContext 5.46.0classEverything a loot table may look at while rolling (vanilla's LootContext and LootParams): the random source, the luck, and the optional para
LootData 5.46.0classRead access to the vanilla data used by loot tables, in the vanilla data cache prepared by `\pocketmine\world\generator\vanilla\VanillaDataF
LootEnchanting 5.46.0classVanilla's random enchanting (EnchantmentHelper
LootEntry 5.46.0classA loot pool entry (vanilla's LootPoolEntryContainer)
LootItemConverter 5.46.0classConverts loot stacks (Java item ids and components) to PocketMine items, using GeyserMC's Java -> Bedrock item mappings from the vanilla
LootPool 5.46.0classA loot pool: rolls (plus bonus rolls scaled by luck) weighted picks among the entries that pass their conditions
LootStack 5.46.0classAn item stack produced by a loot table, in Java Edition terms (the loot table data is Java's): a Java item id, a count and the components th
LootTable 5.46.0classA vanilla loot table (Java Edition data), rolled exactly like vanilla: the same random calls in the same order, so a table rolled with the s
LootTables 5.46.0classVanilla loot tables (Java Edition data from the vanilla data cache, see LootData)
NumberProvider 5.46.0classA vanilla number provider (constant, uniform, binomial

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.