History - net.minecraft.world.entity.DropChances

25w04a

Names

bvy

net.minecraft.world.entity.DropChances

net.minecraft.class_10582

net.minecraft.entity.EquipmentDropChances

Fields

Map<EquipmentSlot, Float>: f, byEquipment, comp_3477, byEquipment

float: a, DEFAULT_EQUIPMENT_DROP_CHANCE, field_55655, DEFAULT_CHANCE

float: b, PRESERVE_ITEM_DROP_CHANCE_THRESHOLD, field_55656, UNHARMED_DROP_THRESHOLD

int: c, PRESERVE_ITEM_DROP_CHANCE, field_55657, GUARANTEED_DROP_CHANCE

DropChances: d, DEFAULT, field_55658, DEFAULT

com.mojang.serialization.Codec<DropChances>: e, CODEC, field_55659, CODEC

Constructors

(Map<EquipmentSlot, Float>)

Methods

Map<EquipmentSlot, Float> (Map<EquipmentSlot, Float>): a, filterDefaultValues, method_66238, removeDefaultChances

Map<EquipmentSlot, Float> (Map<EquipmentSlot, Float>): b, toEnumMap, method_66241, fillDefaultChances

DropChances (EquipmentSlot): a, withGuaranteedDrop, method_66234, setGuaranteed

DropChances (EquipmentSlot, float): a, withEquipmentChance, method_66235, setChance

float (EquipmentSlot): b, byEquipment, method_66240, get

boolean (EquipmentSlot): c, isPreserved, method_66242, dropsUnharmed

Map<EquipmentSlot, Float> (): a, byEquipment, comp_3477, byEquipment