public abstract class StandaloneLootEntry extends LootEntry
修飾子とタイプ | クラスと説明 |
---|---|
static class |
StandaloneLootEntry.Builder<T extends StandaloneLootEntry.Builder<T>> |
class |
StandaloneLootEntry.Generator |
static interface |
StandaloneLootEntry.ILootEntryBuilder |
static class |
StandaloneLootEntry.Serializer<T extends StandaloneLootEntry> |
修飾子とタイプ | フィールドと説明 |
---|---|
static net.minecraft.world.storage.loot.ILootEntry |
field_216139_a |
static net.minecraft.world.storage.loot.ILootEntry |
field_216140_b |
protected ILootFunction[] |
functions
Functions that are ran on the entry.
|
protected int |
quality
The quality of the entry.
|
protected int |
weight
The weight of the entry.
|
conditions
修飾子 | コンストラクタと説明 |
---|---|
protected |
StandaloneLootEntry(int weightIn,
int qualityIn,
ILootCondition[] conditionsIn,
ILootFunction[] functionsIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
default net.minecraft.world.storage.loot.ILootEntry |
alternate(net.minecraft.world.storage.loot.ILootEntry entry) |
static StandaloneLootEntry.Builder<?> |
builder(StandaloneLootEntry.ILootEntryBuilder entryBuilderIn) |
boolean |
expand(LootContext p_expand_1_,
java.util.function.Consumer<ILootGenerator> p_expand_2_) |
protected abstract void |
func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_,
LootContext p_216154_2_) |
void |
func_225579_a_(ValidationTracker p_225579_1_) |
default net.minecraft.world.storage.loot.ILootEntry |
sequence(net.minecraft.world.storage.loot.ILootEntry entry) |
protected final int weight
protected final int quality
protected final ILootFunction[] functions
public static final net.minecraft.world.storage.loot.ILootEntry field_216139_a
public static final net.minecraft.world.storage.loot.ILootEntry field_216140_b
protected StandaloneLootEntry(int weightIn, int qualityIn, ILootCondition[] conditionsIn, ILootFunction[] functionsIn)
public void func_225579_a_(ValidationTracker p_225579_1_)
func_225579_a_
クラス内 LootEntry
protected abstract void func_216154_a(java.util.function.Consumer<ItemStack> p_216154_1_, LootContext p_216154_2_)
public boolean expand(LootContext p_expand_1_, java.util.function.Consumer<ILootGenerator> p_expand_2_)
public static StandaloneLootEntry.Builder<?> builder(StandaloneLootEntry.ILootEntryBuilder entryBuilderIn)
public net.minecraft.world.storage.loot.ILootEntry sequence(net.minecraft.world.storage.loot.ILootEntry entry)
public net.minecraft.world.storage.loot.ILootEntry alternate(net.minecraft.world.storage.loot.ILootEntry entry)