Package net.minecraft.util.datafix.fixes
Class DropChancesFormatFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.DropChancesFormatFix
public class DropChancesFormatFix
extends com.mojang.datafixers.DataFix
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Dynamic
<?> addSlotChances
(com.mojang.serialization.Dynamic<?> p_394421_, List<Float> p_393513_, List<String> p_393814_) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
parseDropChances
(com.mojang.serialization.OptionalDynamic<?> p_394100_) Methods inherited from class com.mojang.datafixers.DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
Field Details
-
ARMOR_SLOT_NAMES
-
HAND_SLOT_NAMES
-
DEFAULT_CHANCE
private static final float DEFAULT_CHANCE- See Also:
-
-
Constructor Details
-
DropChancesFormatFix
public DropChancesFormatFix(com.mojang.datafixers.schemas.Schema p_393639_)
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
addSlotChances
-
parseDropChances
-