Uses of Class
net.minecraft.util.math.vector.Vector2f
Packages that use Vector2f
Package
Description
-
Uses of Vector2f in net.minecraft.client.gui
Fields in net.minecraft.client.gui declared as Vector2f -
Uses of Vector2f in net.minecraft.command
Fields in net.minecraft.command declared as Vector2fMethods in net.minecraft.command that return Vector2fMethods in net.minecraft.command with parameters of type Vector2fConstructors in net.minecraft.command with parameters of type Vector2fModifierConstructorDescriptionCommandSource
(ICommandSource p_i49552_1_, Vector3d p_i49552_2_, Vector2f p_i49552_3_, ServerWorld p_i49552_4_, int p_i49552_5_, String p_i49552_6_, ITextComponent p_i49552_7_, MinecraftServer p_i49552_8_, Entity p_i49552_9_) protected
CommandSource
(ICommandSource p_i49553_1_, Vector3d p_i49553_2_, Vector2f p_i49553_3_, ServerWorld p_i49553_4_, int p_i49553_5_, String p_i49553_6_, ITextComponent p_i49553_7_, MinecraftServer p_i49553_8_, Entity p_i49553_9_, boolean p_i49553_10_, com.mojang.brigadier.ResultConsumer<CommandSource> p_i49553_11_, EntityAnchorArgument.Type p_i49553_12_) -
Uses of Vector2f in net.minecraft.command.arguments
Methods in net.minecraft.command.arguments that return Vector2fModifier and TypeMethodDescriptionILocationArgument.getRotation
(CommandSource p_197282_1_) LocalLocationArgument.getRotation
(CommandSource p_197282_1_) LocationInput.getRotation
(CommandSource p_197282_1_) static Vector2f
Vec2Argument.getVec2
(com.mojang.brigadier.context.CommandContext<CommandSource> p_197295_0_, String p_197295_1_) -
Uses of Vector2f in net.minecraft.command.impl
Methods in net.minecraft.command.impl with parameters of type Vector2fModifier and TypeMethodDescriptionprivate static int
WorldBorderCommand.setCenter
(CommandSource p_198896_0_, Vector2f p_198896_1_) private static int
SpreadPlayersCommand.spreadPlayers
(CommandSource p_241070_0_, Vector2f p_241070_1_, float p_241070_2_, float p_241070_3_, int p_241070_4_, boolean p_241070_5_, Collection<? extends Entity> p_241070_6_) private static void
SpreadPlayersCommand.spreadPositions
(Vector2f p_241071_0_, double p_241071_1_, ServerWorld p_241071_3_, Random p_241071_4_, double p_241071_5_, double p_241071_7_, double p_241071_9_, double p_241071_11_, int p_241071_13_, SpreadPlayersCommand.Position[] p_241071_14_, boolean p_241071_15_) -
Uses of Vector2f in net.minecraft.entity
Methods in net.minecraft.entity that return Vector2f -
Uses of Vector2f in net.minecraft.util
Methods in net.minecraft.util that return Vector2f -
Uses of Vector2f in net.minecraft.util.math.vector
Fields in net.minecraft.util.math.vector declared as Vector2fModifier and TypeFieldDescriptionstatic final Vector2f
Vector2f.MAX
static final Vector2f
Vector2f.MIN
static final Vector2f
Vector2f.NEG_UNIT_X
static final Vector2f
Vector2f.NEG_UNIT_Y
static final Vector2f
Vector2f.ONE
static final Vector2f
Vector2f.UNIT_X
static final Vector2f
Vector2f.UNIT_Y
static final Vector2f
Vector2f.ZERO
Methods in net.minecraft.util.math.vector with parameters of type Vector2fModifier and TypeMethodDescriptionstatic Vector3d
Vector3d.directionFromRotation
(Vector2f p_189984_0_) boolean
-
Uses of Vector2f in net.minecraftforge.client.model.b3d
Fields in net.minecraftforge.client.model.b3d declared as Vector2fModifier and TypeFieldDescriptionprivate final Vector2f
B3DModel.Texture.pos
private final Vector2f
B3DModel.Texture.scale
Methods in net.minecraftforge.client.model.b3d that return Vector2fConstructors in net.minecraftforge.client.model.b3d with parameters of type Vector2f -
Uses of Vector2f in net.minecraftforge.client.model.obj
Fields in net.minecraftforge.client.model.obj declared as Vector2fFields in net.minecraftforge.client.model.obj with type parameters of type Vector2fMethods in net.minecraftforge.client.model.obj that return Vector2fMethods in net.minecraftforge.client.model.obj with parameters of type Vector2fModifier and TypeMethodDescriptionprivate void
OBJModel.putVertexData
(IVertexConsumer consumer, Vector4f position0, Vector2f texCoord0, Vector3f normal0, Vector4f color0, Vector2f uv2, TextureAtlasSprite texture)