Uses of Class
net.minecraft.world.phys.Vec2
Packages that use Vec2
Package
Description
-
Uses of Vec2 in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as Vec2 -
Uses of Vec2 in net.minecraft.client.player
Methods in net.minecraft.client.player that return Vec2 -
Uses of Vec2 in net.minecraft.commands
Fields in net.minecraft.commands declared as Vec2Methods in net.minecraft.commands that return Vec2Methods in net.minecraft.commands with parameters of type Vec2Constructors in net.minecraft.commands with parameters of type Vec2ModifierConstructorDescriptionCommandSourceStack(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, Entity p_81310_) protectedCommandSourceStack(CommandSource p_282943_, Vec3 p_282023_, Vec2 p_282896_, ServerLevel p_282659_, int p_283075_, String p_282379_, Component p_282469_, MinecraftServer p_281590_, Entity p_281515_, boolean p_282415_, CommandResultCallback p_309630_, EntityAnchorArgument.Anchor p_282332_, CommandSigningContext p_283585_, TaskChainer p_282376_) -
Uses of Vec2 in net.minecraft.commands.arguments.coordinates
Methods in net.minecraft.commands.arguments.coordinates that return Vec2Modifier and TypeMethodDescriptionCoordinates.getRotation(CommandSourceStack p_119567_) LocalCoordinates.getRotation(CommandSourceStack p_119915_) WorldCoordinates.getRotation(CommandSourceStack p_120896_) static Vec2Vec2Argument.getVec2(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120826_, String p_120827_) Methods in net.minecraft.commands.arguments.coordinates with parameters of type Vec2 -
Uses of Vec2 in net.minecraft.server.chase
Fields in net.minecraft.server.chase declared as Vec2Modifier and TypeFieldDescriptionprivate final Vec2ChaseClient.TeleportTarget.rotThe field for therotrecord component.Methods in net.minecraft.server.chase that return Vec2Modifier and TypeMethodDescriptionChaseClient.TeleportTarget.rot()Returns the value of therotrecord component.Constructors in net.minecraft.server.chase with parameters of type Vec2ModifierConstructorDescription(package private)TeleportTarget(ResourceKey<Level> level, Vec3 pos, Vec2 rot) Creates an instance of aTeleportTargetrecord class. -
Uses of Vec2 in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type Vec2Modifier and TypeMethodDescriptionprivate static intWorldBorderCommand.setCenter(CommandSourceStack p_139263_, Vec2 p_139264_) private static intSpreadPlayersCommand.spreadPlayers(CommandSourceStack p_138703_, Vec2 p_138704_, float p_138705_, float p_138706_, int p_138707_, boolean p_138708_, Collection<? extends Entity> p_138709_) private static voidSpreadPlayersCommand.spreadPositions(Vec2 p_214741_, double p_214742_, ServerLevel p_214743_, RandomSource p_214744_, double p_214745_, double p_214746_, double p_214747_, double p_214748_, int p_214749_, SpreadPlayersCommand.Position[] p_214750_, boolean p_214751_) -
Uses of Vec2 in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return Vec2 -
Uses of Vec2 in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel that return Vec2 -
Uses of Vec2 in net.minecraft.world.entity.animal.horse
Methods in net.minecraft.world.entity.animal.horse that return Vec2Modifier and TypeMethodDescriptionprotected Vec2AbstractHorse.getRiddenRotation(LivingEntity p_275502_) -
Uses of Vec2 in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block that return types with arguments of type Vec2Modifier and TypeMethodDescriptionChiseledBookShelfBlock.getRelativeHitCoordinatesForBlockFace(BlockHitResult p_261714_, Direction p_262116_) -
Uses of Vec2 in net.minecraft.world.phys
Fields in net.minecraft.world.phys declared as Vec2Modifier and TypeFieldDescriptionstatic final Vec2Vec2.MAXstatic final Vec2Vec2.MINstatic final Vec2Vec2.NEG_UNIT_Xstatic final Vec2Vec2.NEG_UNIT_Ystatic final Vec2Vec2.ONEstatic final Vec2Vec2.UNIT_Xstatic final Vec2Vec2.UNIT_Ystatic final Vec2Vec2.ZEROMethods in net.minecraft.world.phys that return Vec2Modifier and TypeMethodDescriptionVec2.add(float p_165909_) Vec2.negated()Vec2.normalized()Vec2.scale(float p_165904_) Methods in net.minecraft.world.phys with parameters of type Vec2 -
Uses of Vec2 in net.neoforged.neoforge.client
Constructors in net.neoforged.neoforge.client with parameters of type Vec2ModifierConstructorDescriptionClientCommandSourceStack(CommandSource source, Vec3 position, Vec2 rotation, int permission, String plainTextName, Component displayName, Entity executing) -
Uses of Vec2 in net.neoforged.neoforge.client.model.obj
Fields in net.neoforged.neoforge.client.model.obj declared as Vec2Fields in net.neoforged.neoforge.client.model.obj with type parameters of type Vec2Methods in net.neoforged.neoforge.client.model.obj that return Vec2 -
Uses of Vec2 in net.neoforged.neoforge.debug.chat
Constructors in net.neoforged.neoforge.debug.chat with parameters of type Vec2ModifierConstructorDescriptionErrorCatchingStack(CommandSource p_81302_, Vec3 p_81303_, Vec2 p_81304_, ServerLevel p_81305_, int p_81306_, String p_81307_, Component p_81308_, MinecraftServer p_81309_, @Nullable Entity p_81310_)