Contents
Record Class CameraFX
java.lang.Object
java.lang.Record
com.hypixel.hytale.builtin.adventure.worldevents.action.effect.CameraFX
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasset()Returns the value of theassetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theintensityMaxrecord component.Returns the value of theintensityMinrecord component.voidsend(int playerRadius, org.joml.Vector3d origin, List<Ref<EntityStore>> players, CommandBuffer<EntityStore> buffer) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
CODEC
-
-
Constructor Details
-
CameraFX
Creates an instance of aCameraFXrecord class.- Parameters:
asset- the value for theassetrecord componentintensityMin- the value for theintensityMinrecord componentintensityMax- the value for theintensityMaxrecord component
-
-
Method Details
-
send
public void send(int playerRadius, @Nonnull org.joml.Vector3d origin, @Nonnull List<Ref<EntityStore>> players, @Nonnull CommandBuffer<EntityStore> buffer) -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
asset
Returns the value of theassetrecord component.- Returns:
- the value of the
assetrecord component
-
intensityMin
Returns the value of theintensityMinrecord component.- Returns:
- the value of the
intensityMinrecord component
-
intensityMax
Returns the value of theintensityMaxrecord component.- Returns:
- the value of the
intensityMaxrecord component
-