Record Class PhysicalCollisionCache.Owner
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.movement.replay.PhysicalCollisionCache.Owner
- Enclosing class:
PhysicalCollisionCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.Entityactor()Returns the value of theactorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.net.raphimc.viabedrock.api.model.NativeMovementSources.InterpolationReturns the value of theinterpolationrecord component.net.minecraft.world.level.Levellevel()Returns the value of thelevelrecord component.lifetime()Returns the value of thelifetimerecord component.final StringtoString()Returns a string representation of this record class.uuid()Returns the value of theuuidrecord component.
-
Constructor Details
-
Owner
public Owner(net.minecraft.world.entity.Entity actor, net.minecraft.world.level.Level level, int id, UUID uuid, UUID lifetime, net.raphimc.viabedrock.api.model.NativeMovementSources.Interpolation interpolation) Creates an instance of aOwnerrecord class.- Parameters:
actor- the value for theactorrecord componentlevel- the value for thelevelrecord componentid- the value for theidrecord componentuuid- the value for theuuidrecord componentlifetime- the value for thelifetimerecord componentinterpolation- the value for theinterpolationrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
actor
public net.minecraft.world.entity.Entity actor()Returns the value of theactorrecord component.- Returns:
- the value of the
actorrecord component
-
level
public net.minecraft.world.level.Level level()Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
uuid
Returns the value of theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
lifetime
Returns the value of thelifetimerecord component.- Returns:
- the value of the
lifetimerecord component
-
interpolation
public net.raphimc.viabedrock.api.model.NativeMovementSources.Interpolation interpolation()Returns the value of theinterpolationrecord component.- Returns:
- the value of the
interpolationrecord component
-