Matches items that have less than 100% durability (that is, at least 1 damage point) if a damaged item is used as
the filter, or undamaged items otherwise.
Matches items that have less than 100% durability (that is, at least 1 damage point) if a damaged item is used as
the filter, or undamaged items otherwise.
If an item with less than 75% durability is used as the filter, items with less than 75% durability are matched.
Otherwise items with 75% durability or more are matched.
If an item with less than 50% durability is used as the filter, items with less than 50% durability are matched.
Otherwise items with 50% durability or more are matched.
If an item with less than 25% durability is used as the filter, items with less than 50% durability are matched.
Otherwise items with 25% durability or more are matched.
Field Details
CODEC
public static finalcom.mojang.serialization.Codec<FuzzyMode>CODEC
STREAM_CODEC
public static finalnet.minecraft.network.codec.StreamCodec<net.minecraft.network.FriendlyByteBuf, FuzzyMode>STREAM_CODEC
breakPoint
public finalfloatbreakPoint
percentage
public finalfloatpercentage
Note this is percentage "damaged". It's the inverse of percentage durability.
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.