Package net.minecraft.client.world
Record Class BlockParticleEffectsManager.Entry
java.lang.Object
java.lang.Record
net.minecraft.client.world.BlockParticleEffectsManager.Entry
- Record Components:
center-radius-blockCount-blockParticles-
- Enclosing class:
BlockParticleEffectsManager
@Environment(CLIENT)
private static record BlockParticleEffectsManager.Entry(Vec3d center, float radius, int blockCount, Pool<BlockParticleEffect> blockParticles)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/world/BlockParticleEffectsManager$Entryintermediary net/minecraft/class_11741$class_11742official gzl$anamed centerintermediary comp_4607official anamed radiusintermediary comp_4608official bnamed blockCountintermediary comp_4609official cnamed blockParticlesintermediary comp_4610official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for theblockCountrecord component.private final Pool<BlockParticleEffect> The field for theblockParticlesrecord component.private final Vec3dThe field for thecenterrecord component.private final floatThe field for theradiusrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theblockCountrecord component.Returns the value of theblockParticlesrecord component.center()Returns the value of thecenterrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.floatradius()Returns the value of theradiusrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
center
The field for thecenterrecord component. -
radius
private final float radiusThe field for theradiusrecord component. -
blockCount
private final int blockCountThe field for theblockCountrecord component. -
blockParticles
The field for theblockParticlesrecord component.
-
-
Constructor Details
-
Entry
Entry(Vec3d vec3d, float float2, int int2, Pool<BlockParticleEffect> pool)
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
center
Returns the value of thecenterrecord component.- Returns:
- the value of the
centerrecord component
-
radius
public float radius()Returns the value of theradiusrecord component.- Returns:
- the value of the
radiusrecord component
-
blockCount
public int blockCount()Returns the value of theblockCountrecord component.- Returns:
- the value of the
blockCountrecord component
-
blockParticles
Returns the value of theblockParticlesrecord component.- Returns:
- the value of the
blockParticlesrecord component
-