Uses of Record Class
net.minecraft.entity.effect.StatusEffectInstance.Parameters
Packages that use StatusEffectInstance.Parameters
-
Uses of StatusEffectInstance.Parameters in net.minecraft.entity.effect
Fields in net.minecraft.entity.effect with type parameters of type StatusEffectInstance.ParametersModifier 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
Methods in net.minecraft.entity.effect that return StatusEffectInstance.ParametersModifier 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) Methods in net.minecraft.entity.effect that return types with arguments of type StatusEffectInstance.ParametersModifier and TypeMethodDescriptionStatusEffectInstance.Parameters.hiddenEffect()
Returns the value of thehiddenEffect
record component.Constructors in net.minecraft.entity.effect with parameters of type StatusEffectInstance.ParametersModifierConstructorDescriptionprivate
StatusEffectInstance
(RegistryEntry<StatusEffect> effect, StatusEffectInstance.Parameters parameters) Constructor parameters in net.minecraft.entity.effect with type arguments of type StatusEffectInstance.ParametersModifierConstructorDescription(package private)
Parameters
(int int2, int int3, boolean bool, boolean bool2, boolean bool3, Optional<StatusEffectInstance.Parameters> optional)