Package | Description |
---|---|
net.minecraft.data | |
net.minecraft.data.loot | |
net.minecraft.world.storage.loot | |
net.minecraftforge.common.data |
Modifier and Type | Field and Description |
---|---|
private java.util.List<com.mojang.datafixers.util.Pair<java.util.function.Supplier<java.util.function.Consumer<java.util.function.BiConsumer<ResourceLocation,LootTable.Builder>>>,LootParameterSet>> |
LootTableProvider.field_218444_e |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<com.mojang.datafixers.util.Pair<java.util.function.Supplier<java.util.function.Consumer<java.util.function.BiConsumer<ResourceLocation,LootTable.Builder>>>,LootParameterSet>> |
LootTableProvider.getTables() |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,LootTable.Builder> |
EntityLootTables.lootTables |
private java.util.Map<ResourceLocation,LootTable.Builder> |
BlockLootTables.lootTables |
Modifier and Type | Method and Description |
---|---|
protected static LootTable.Builder |
BlockLootTables.dropping(Block p_218494_0_,
ILootCondition.IBuilder p_218494_1_,
LootEntry.Builder<?> p_218494_2_) |
protected static LootTable.Builder |
BlockLootTables.dropping(IItemProvider p_218546_0_) |
protected static LootTable.Builder |
BlockLootTables.droppingAndBonusWhen(Block p_218541_0_,
Item p_218541_1_,
Item p_218541_2_,
ILootCondition.IBuilder p_218541_3_) |
protected static LootTable.Builder |
BlockLootTables.droppingAndFlowerPot(IItemProvider p_218523_0_) |
protected static LootTable.Builder |
BlockLootTables.droppingByAge(Block p_218475_0_,
Item p_218475_1_) |
protected static LootTable.Builder |
BlockLootTables.droppingItemRarely(Block p_218491_0_,
IItemProvider p_218491_1_) |
protected static LootTable.Builder |
BlockLootTables.droppingItemWithFortune(Block p_218476_0_,
Item p_218476_1_) |
protected static LootTable.Builder |
BlockLootTables.droppingRandomly(IItemProvider p_218463_0_,
IRandomRange p_218463_1_) |
protected static LootTable.Builder |
BlockLootTables.droppingSeeds(Block p_218570_0_) |
protected static LootTable.Builder |
BlockLootTables.droppingSlab(Block p_218513_0_) |
protected static <T extends java.lang.Comparable<T> & IStringSerializable> |
BlockLootTables.droppingWhen(Block p_218562_0_,
IProperty<T> p_218562_1_,
T p_218562_2_) |
protected static LootTable.Builder |
BlockLootTables.droppingWithChancesAndSticks(Block p_218540_0_,
Block p_218540_1_,
float... p_218540_2_) |
protected static LootTable.Builder |
BlockLootTables.droppingWithChancesSticksAndApples(Block p_218526_0_,
Block p_218526_1_,
float... p_218526_2_) |
protected static LootTable.Builder |
BlockLootTables.droppingWithContents(Block p_218544_0_) |
protected static LootTable.Builder |
BlockLootTables.droppingWithName(Block p_218481_0_) |
protected static LootTable.Builder |
BlockLootTables.droppingWithPatterns(Block p_218559_0_) |
protected static LootTable.Builder |
BlockLootTables.droppingWithShears(Block p_218511_0_,
LootEntry.Builder<?> p_218511_1_) |
protected static LootTable.Builder |
BlockLootTables.droppingWithSilkTouch(Block p_218515_0_,
IItemProvider p_218515_1_) |
protected static LootTable.Builder |
BlockLootTables.droppingWithSilkTouch(Block p_218519_0_,
LootEntry.Builder<?> p_218519_1_) |
protected static LootTable.Builder |
BlockLootTables.droppingWithSilkTouchOrRandomly(Block p_218530_0_,
IItemProvider p_218530_1_,
IRandomRange p_218530_2_) |
protected static LootTable.Builder |
BlockLootTables.droppingWithSilkTouchOrShears(Block p_218535_0_,
LootEntry.Builder<?> p_218535_1_) |
static LootTable.Builder |
BlockLootTables.func_218482_a() |
private static LootTable.Builder |
BlockLootTables.func_229435_c_(Block p_229435_0_,
Item p_229435_1_) |
private static LootTable.Builder |
BlockLootTables.func_229436_h_(Block p_229436_0_) |
private static LootTable.Builder |
BlockLootTables.func_229437_i_(Block p_229437_0_) |
protected static LootTable.Builder |
BlockLootTables.onlyWithShears(IItemProvider p_218486_0_) |
protected static LootTable.Builder |
BlockLootTables.onlyWithSilkTouch(IItemProvider p_218561_0_) |
private static LootTable.Builder |
EntityLootTables.sheepLootTableBuilderWithDrop(IItemProvider p_218583_0_) |
Modifier and Type | Method and Description |
---|---|
protected void |
BlockLootTables.registerLootTable(Block blockIn,
LootTable.Builder table) |
protected void |
EntityLootTables.registerLootTable(EntityType<?> type,
LootTable.Builder table) |
protected void |
EntityLootTables.registerLootTable(ResourceLocation id,
LootTable.Builder table) |
Modifier and Type | Method and Description |
---|---|
void |
GiftLootTables.accept(java.util.function.BiConsumer<ResourceLocation,LootTable.Builder> p_accept_1_) |
void |
EntityLootTables.accept(java.util.function.BiConsumer<ResourceLocation,LootTable.Builder> p_accept_1_) |
void |
FishingLootTables.accept(java.util.function.BiConsumer<ResourceLocation,LootTable.Builder> p_accept_1_) |
void |
BlockLootTables.accept(java.util.function.BiConsumer<ResourceLocation,LootTable.Builder> p_accept_1_) |
void |
ChestLootTables.accept(java.util.function.BiConsumer<ResourceLocation,LootTable.Builder> p_accept_1_) |
protected void |
BlockLootTables.registerLootTable(Block blockIn,
java.util.function.Function<Block,LootTable.Builder> factory) |
Modifier and Type | Method and Description |
---|---|
LootTable.Builder |
LootTable.Builder.acceptFunction(ILootFunction.IBuilder functionBuilder) |
LootTable.Builder |
LootTable.Builder.addLootPool(LootPool.Builder lootPoolIn) |
static LootTable.Builder |
LootTable.builder() |
LootTable.Builder |
LootTable.Builder.cast() |
LootTable.Builder |
LootTable.Builder.setParameterSet(LootParameterSet parameterSet) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<com.mojang.datafixers.util.Pair<java.util.function.Supplier<java.util.function.Consumer<java.util.function.BiConsumer<ResourceLocation,LootTable.Builder>>>,LootParameterSet>> |
ForgeLootTableProvider.getTables() |
private java.util.function.Consumer<java.util.function.BiConsumer<ResourceLocation,LootTable.Builder>> |
ForgeLootTableProvider.replaceAndFilterChangesOnly(java.util.function.Consumer<java.util.function.BiConsumer<ResourceLocation,LootTable.Builder>> consumer) |
Modifier and Type | Method and Description |
---|---|
private boolean |
ForgeLootTableProvider.findAndReplaceInLootTableBuilder(LootTable.Builder builder,
Item from,
Tag<Item> to) |
Modifier and Type | Method and Description |
---|---|
private java.util.function.Consumer<java.util.function.BiConsumer<ResourceLocation,LootTable.Builder>> |
ForgeLootTableProvider.replaceAndFilterChangesOnly(java.util.function.Consumer<java.util.function.BiConsumer<ResourceLocation,LootTable.Builder>> consumer) |