Package | Description |
---|---|
net.minecraft.world.storage.loot | |
net.minecraft.world.storage.loot.functions |
Modifier and Type | Class and Description |
---|---|
class |
LootFunction |
Modifier and Type | Field and Description |
---|---|
protected ILootFunction[] |
StandaloneLootEntry.functions |
private ILootFunction[] |
LootTable.functions |
private ILootFunction[] |
LootPool.functions |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<ILootCondition[],ILootFunction> |
LootFunction.SimpleBuilder.function |
private java.util.List<ILootFunction> |
StandaloneLootEntry.Builder.functions |
private java.util.List<ILootFunction> |
LootPool.Builder.functions |
private java.util.List<ILootFunction> |
LootTable.Builder.lootFunctions |
Modifier and Type | Method and Description |
---|---|
ILootFunction |
LootFunction.SimpleBuilder.build() |
protected ILootFunction[] |
StandaloneLootEntry.Builder.getFunctions() |
Modifier and Type | Method and Description |
---|---|
StandaloneLootEntry |
StandaloneLootEntry.ILootEntryBuilder.build(int p_build_1_,
int p_build_2_,
ILootCondition[] p_build_3_,
ILootFunction[] p_build_4_) |
protected abstract T |
StandaloneLootEntry.Serializer.func_212829_b_(com.google.gson.JsonObject p_212829_1_,
com.google.gson.JsonDeserializationContext p_212829_2_,
int p_212829_3_,
int p_212829_4_,
ILootCondition[] p_212829_5_,
ILootFunction[] p_212829_6_) |
protected TagLootEntry |
TagLootEntry.Serializer.func_212829_b_(com.google.gson.JsonObject p_212829_1_,
com.google.gson.JsonDeserializationContext p_212829_2_,
int p_212829_3_,
int p_212829_4_,
ILootCondition[] p_212829_5_,
ILootFunction[] p_212829_6_) |
protected ItemLootEntry |
ItemLootEntry.Serializer.func_212829_b_(com.google.gson.JsonObject p_212829_1_,
com.google.gson.JsonDeserializationContext p_212829_2_,
int p_212829_3_,
int p_212829_4_,
ILootCondition[] p_212829_5_,
ILootFunction[] p_212829_6_) |
protected EmptyLootEntry |
EmptyLootEntry.Serializer.func_212829_b_(com.google.gson.JsonObject p_212829_1_,
com.google.gson.JsonDeserializationContext p_212829_2_,
int p_212829_3_,
int p_212829_4_,
ILootCondition[] p_212829_5_,
ILootFunction[] p_212829_6_) |
protected DynamicLootEntry |
DynamicLootEntry.Serializer.func_212829_b_(com.google.gson.JsonObject p_212829_1_,
com.google.gson.JsonDeserializationContext p_212829_2_,
int p_212829_3_,
int p_212829_4_,
ILootCondition[] p_212829_5_,
ILootFunction[] p_212829_6_) |
protected TableLootEntry |
TableLootEntry.Serializer.func_212829_b_(com.google.gson.JsonObject p_212829_1_,
com.google.gson.JsonDeserializationContext p_212829_2_,
int p_212829_3_,
int p_212829_4_,
ILootCondition[] p_212829_5_,
ILootFunction[] p_212829_6_) |
Modifier and Type | Method and Description |
---|---|
protected static LootFunction.Builder<?> |
LootFunction.builder(java.util.function.Function<ILootCondition[],ILootFunction> p_215860_0_) |
Constructor and Description |
---|
DynamicLootEntry(ResourceLocation p_i51260_1_,
int p_i51260_2_,
int p_i51260_3_,
ILootCondition[] p_i51260_4_,
ILootFunction[] p_i51260_5_) |
EmptyLootEntry(int p_i51258_1_,
int p_i51258_2_,
ILootCondition[] p_i51258_3_,
ILootFunction[] p_i51258_4_) |
ItemLootEntry(Item itemIn,
int weightIn,
int qualityIn,
ILootCondition[] conditionsIn,
ILootFunction[] functionsIn) |
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) |
LootTable(LootParameterSet p_i51265_1_,
LootPool[] p_i51265_2_,
ILootFunction[] p_i51265_3_) |
StandaloneLootEntry(int weightIn,
int qualityIn,
ILootCondition[] conditionsIn,
ILootFunction[] functionsIn) |
TableLootEntry(ResourceLocation tableIn,
int weightIn,
int qualityIn,
ILootCondition[] conditionsIn,
ILootFunction[] functionsIn) |
TagLootEntry(Tag<Item> p_i51248_1_,
boolean p_i51248_2_,
int p_i51248_3_,
int p_i51248_4_,
ILootCondition[] p_i51248_5_,
ILootFunction[] p_i51248_6_) |
Constructor and Description |
---|
SimpleBuilder(java.util.function.Function<ILootCondition[],ILootFunction> p_i50229_1_) |
Modifier and Type | Class and Description |
---|---|
static class |
ILootFunction.Serializer<T extends ILootFunction> |
Modifier and Type | Class and Description |
---|---|
class |
ApplyBonus |
class |
CopyBlockState |
class |
CopyName |
class |
CopyNbt |
class |
EnchantRandomly |
class |
EnchantWithLevels |
class |
ExplorationMap |
class |
ExplosionDecay |
class |
FillPlayerHead |
class |
LimitCount |
class |
LootingEnchantBonus |
class |
SetAttributes |
class |
SetContents |
class |
SetCount |
class |
SetDamage |
class |
SetLootTable |
class |
SetLore |
class |
SetName |
class |
SetNBT |
class |
SetStewEffect |
class |
Smelt |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.Class<? extends ILootFunction>,ILootFunction.Serializer<?>> |
LootFunctionManager.CLASS_TO_SERIALIZER_MAP |
Modifier and Type | Method and Description |
---|---|
static <T extends ILootFunction> |
LootFunctionManager.getSerializerFor(T functionClass) |
static <T extends ILootFunction> |
LootFunctionManager.registerFunction(ILootFunction.Serializer<? extends T> serializer) |
Modifier and Type | Method and Description |
---|---|
ILootFunction |
ExplorationMap.Builder.build() |
ILootFunction |
SetContents.Builder.build() |
ILootFunction |
CopyNbt.Builder.build() |
ILootFunction |
LootingEnchantBonus.Builder.build() |
ILootFunction |
ILootFunction.IBuilder.build() |
ILootFunction |
EnchantWithLevels.Builder.build() |
ILootFunction |
CopyBlockState.Builder.build() |
ILootFunction |
SetStewEffect.Builder.build() |
ILootFunction |
LootFunctionManager.Serializer.deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
LootFunctionManager.Serializer.serialize(ILootFunction p_serialize_1_,
java.lang.reflect.Type p_serialize_2_,
com.google.gson.JsonSerializationContext p_serialize_3_) |