| Package | Description |
|---|---|
| net.minecraft.data.loot | |
| net.minecraft.world.storage.loot | |
| net.minecraft.world.storage.loot.functions |
| Modifier and Type | Method and Description |
|---|---|
protected static LootTable.Builder |
BlockLootTables.droppingRandomly(IItemProvider p_218463_0_,
IRandomRange p_218463_1_) |
protected static LootTable.Builder |
BlockLootTables.droppingWithSilkTouchOrRandomly(Block p_218530_0_,
IItemProvider p_218530_1_,
IRandomRange p_218530_2_) |
| Modifier and Type | Class and Description |
|---|---|
class |
BinomialRange |
class |
ConstantRange |
class |
RandomValueRange |
| Modifier and Type | Field and Description |
|---|---|
private IRandomRange |
LootPool.rolls |
private IRandomRange |
LootPool.Builder.rolls |
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<ResourceLocation,java.lang.Class<? extends IRandomRange>> |
RandomRanges.field_216132_a |
| Modifier and Type | Method and Description |
|---|---|
static IRandomRange |
RandomRanges.deserialize(com.google.gson.JsonElement json,
com.google.gson.JsonDeserializationContext context) |
IRandomRange |
LootPool.getBonusRolls() |
IRandomRange |
LootPool.getRolls() |
| Modifier and Type | Method and Description |
|---|---|
LootPool.Builder |
LootPool.Builder.rolls(IRandomRange rollsIn) |
static com.google.gson.JsonElement |
RandomRanges.serialize(IRandomRange randomRange,
com.google.gson.JsonSerializationContext context) |
| Constructor and Description |
|---|
LootPool(LootEntry[] p_i51268_1_,
ILootCondition[] p_i51268_2_,
ILootFunction[] p_i51268_3_,
IRandomRange p_i51268_4_,
RandomValueRange p_i51268_5_,
java.lang.String name) |
| Modifier and Type | Field and Description |
|---|---|
private IRandomRange |
SetCount.countRange |
private IRandomRange |
EnchantWithLevels.Builder.field_216060_a |
private IRandomRange |
EnchantWithLevels.randomLevel |
| Modifier and Type | Method and Description |
|---|---|
static LootFunction.Builder<?> |
SetCount.builder(IRandomRange p_215932_0_) |
static EnchantWithLevels.Builder |
EnchantWithLevels.func_215895_a(IRandomRange p_215895_0_) |
| Constructor and Description |
|---|
Builder(IRandomRange p_i51494_1_) |
EnchantWithLevels(ILootCondition[] p_i51236_1_,
IRandomRange p_i51236_2_,
boolean p_i51236_3_) |
SetCount(ILootCondition[] p_i51222_1_,
IRandomRange p_i51222_2_) |