Uses of Record Class
net.minecraft.entity.effect.StatusEffectInstance.Parameters
-
Uses of StatusEffectInstance.Parameters in net.minecraft.entity.effect
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<StatusEffectInstance.Parameters> StatusEffectInstance.Parameters.CODEC
private final Optional
<StatusEffectInstance.Parameters> StatusEffectInstance.Parameters.hiddenEffect
The field for thehiddenEffect
record component.static final PacketCodec
<ByteBuf, StatusEffectInstance.Parameters> StatusEffectInstance.Parameters.PACKET_CODEC
Modifier and TypeMethodDescriptionprivate StatusEffectInstance.Parameters
StatusEffectInstance.asParameters()
private static StatusEffectInstance.Parameters
StatusEffectInstance.Parameters.create
(int amplifier, int duration, boolean ambient, boolean showParticles, Optional<Boolean> showIcon, Optional<StatusEffectInstance.Parameters> hiddenEffect) Modifier and TypeMethodDescriptionStatusEffectInstance.Parameters.hiddenEffect()
Returns the value of thehiddenEffect
record component.ModifierConstructorDescriptionprivate
StatusEffectInstance
(RegistryEntry<StatusEffect> effect, StatusEffectInstance.Parameters parameters) ModifierConstructorDescription(package private)
Parameters
(int int2, int int3, boolean bool, boolean bool2, boolean bool3, Optional<StatusEffectInstance.Parameters> optional)