Uses of Enum Class
net.minecraft.network.packet.s2c.play.PositionFlag
Packages that use PositionFlag
Package
Description
The base package for all Minecraft classes.
-
Uses of PositionFlag in net.minecraft
Methods in net.minecraft with parameters of type PositionFlagModifier and TypeMethodDescriptionprivate static doubleclass_10182.method_63636(double double2, double double3, Set<PositionFlag> set, PositionFlag positionFlag) Method parameters in net.minecraft with type arguments of type PositionFlagModifier and TypeMethodDescriptionprivate static doubleclass_10182.method_63636(double double2, double double3, Set<PositionFlag> set, PositionFlag positionFlag) static class_10182class_10182.method_63639(class_10182 class_10182, class_10182 class_101822, Set<PositionFlag> set) -
Uses of PositionFlag in net.minecraft.entity
Method parameters in net.minecraft.entity with type arguments of type PositionFlagModifier and TypeMethodDescriptionbooleanEntity.teleport(ServerWorld world, double destX, double destY, double destZ, Set<PositionFlag> flags, float yaw, float pitch, boolean resetCamera) Teleports the entity to the given position. -
Uses of PositionFlag in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type PositionFlagModifier and TypeFieldDescriptionstatic final Set<PositionFlag> PositionFlag.field_54094static final PacketCodec<ByteBuf, Set<PositionFlag>> PositionFlag.field_54095private final Set<PositionFlag> PlayerPositionLookS2CPacket.flagsThe field for theflagsrecord component.static final Set<PositionFlag> PositionFlag.ROTstatic final Set<PositionFlag> PositionFlag.VALUESMethods in net.minecraft.network.packet.s2c.play that return PositionFlagModifier and TypeMethodDescriptionstatic PositionFlagReturns the enum constant of this class with the specified name.static PositionFlag[]PositionFlag.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type PositionFlagModifier and TypeMethodDescriptionPlayerPositionLookS2CPacket.flags()Returns the value of theflagsrecord component.static Set<PositionFlag> PositionFlag.getFlags(int mask) static Set<PositionFlag> PositionFlag.method_63641(Set<PositionFlag>[] set) Method parameters in net.minecraft.network.packet.s2c.play with type arguments of type PositionFlagModifier and TypeMethodDescriptionstatic intPositionFlag.getBitfield(Set<PositionFlag> flags) static PlayerPositionLookS2CPacketPlayerPositionLookS2CPacket.method_63542(int int2, class_10182 class_10182, Set<PositionFlag> set) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type PositionFlagModifierConstructorDescriptionPlayerPositionLookS2CPacket(int int2, Vec3d vec3d, Vec3d vec3d2, float float2, float float3, Set<PositionFlag> set) -
Uses of PositionFlag in net.minecraft.server.command
Method parameters in net.minecraft.server.command with type arguments of type PositionFlagModifier and TypeMethodDescriptionprivate static voidTeleportCommand.teleport(ServerCommandSource source, Entity target, ServerWorld world, double x, double y, double z, Set<PositionFlag> movementFlags, float yaw, float pitch, @Nullable TeleportCommand.LookTarget facingLocation) -
Uses of PositionFlag in net.minecraft.server.network
Method parameters in net.minecraft.server.network with type arguments of type PositionFlagModifier and TypeMethodDescriptionvoidServerPlayNetworkHandler.requestTeleport(class_10182 class_10182, Set<PositionFlag> set) booleanServerPlayerEntity.teleport(ServerWorld world, double destX, double destY, double destZ, Set<PositionFlag> flags, float yaw, float pitch, boolean resetCamera) Teleports the entity to the given position. -
Uses of PositionFlag in net.minecraft.world
Fields in net.minecraft.world with type parameters of type PositionFlagModifier and TypeFieldDescriptionprivate final Set<PositionFlag> TeleportTarget.relativesThe field for therelativesrecord component.Methods in net.minecraft.world that return types with arguments of type PositionFlagModifier and TypeMethodDescriptionTeleportTarget.relatives()Returns the value of therelativesrecord component.Constructor parameters in net.minecraft.world with type arguments of type PositionFlagModifierConstructorDescriptionTeleportTarget(ServerWorld serverWorld, Vec3d vec3d, Vec3d vec3d2, float float2, float float3, boolean bool, Set<PositionFlag> set, TeleportTarget.PostDimensionTransition postDimensionTransition) TeleportTarget(ServerWorld world, Vec3d pos, Vec3d velocity, float yaw, float pitch, Set<PositionFlag> set, TeleportTarget.PostDimensionTransition postDimensionTransition)