Package | Description |
---|---|
net.minecraft.world.storage.loot | |
net.minecraft.world.storage.loot.conditions | |
net.minecraft.world.storage.loot.functions |
Modifier and Type | Field and Description |
---|---|
private RandomValueRange |
LootPool.bonusRolls |
private RandomValueRange |
LootPool.rolls |
Modifier and Type | Method and Description |
---|---|
RandomValueRange |
RandomValueRange.Serializer.deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
RandomValueRange |
LootPool.getBonusRolls() |
RandomValueRange |
LootPool.getRolls() |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
RandomValueRange.Serializer.serialize(RandomValueRange p_serialize_1_,
java.lang.reflect.Type p_serialize_2_,
com.google.gson.JsonSerializationContext p_serialize_3_) |
void |
LootPool.setBonusRolls(RandomValueRange v) |
void |
LootPool.setRolls(RandomValueRange v) |
Constructor and Description |
---|
LootPool(LootEntry[] lootEntriesIn,
LootCondition[] poolConditionsIn,
RandomValueRange rollsIn,
RandomValueRange bonusRollsIn,
java.lang.String name) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,RandomValueRange> |
EntityHasScore.scores |
Modifier and Type | Method and Description |
---|---|
protected boolean |
EntityHasScore.entityScoreMatch(Entity entityIn,
Scoreboard scoreboardIn,
java.lang.String objectiveStr,
RandomValueRange rand) |
Constructor and Description |
---|
EntityHasScore(java.util.Map<java.lang.String,RandomValueRange> scoreIn,
LootContext.EntityTarget targetIn) |
Modifier and Type | Field and Description |
---|---|
private RandomValueRange |
SetAttributes.Modifier.amount |
private RandomValueRange |
LootingEnchantBonus.count |
private RandomValueRange |
SetCount.countRange |
private RandomValueRange |
SetDamage.damageRange |
private RandomValueRange |
SetMetadata.metaRange |
private RandomValueRange |
EnchantWithLevels.randomLevel |
Constructor and Description |
---|
EnchantWithLevels(LootCondition[] conditionsIn,
RandomValueRange randomRange,
boolean isTreasureIn) |
LootingEnchantBonus(LootCondition[] conditions,
RandomValueRange countIn,
int limitIn) |
Modifier(java.lang.String modifName,
java.lang.String attrName,
int operationIn,
RandomValueRange randomAmount,
EntityEquipmentSlot[] slotsIn,
java.util.UUID uuidIn) |
SetCount(LootCondition[] conditionsIn,
RandomValueRange countRangeIn) |
SetDamage(LootCondition[] conditionsIn,
RandomValueRange damageRangeIn) |
SetMetadata(LootCondition[] conditionsIn,
RandomValueRange metaRangeIn) |