Uses of Class
net.minecraft.world.phys.Vec2
Package
Description
-
Uses of Vec2 in net.minecraft.client.gui.components
-
Uses of Vec2 in net.minecraft.client.player
-
Uses of Vec2 in net.minecraft.commands
ModifierConstructorDescriptionCommandSourceStack(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_)
protected
CommandSourceStack(CommandSource p_81312_, Vec3 p_81313_, Vec2 p_81314_, ServerLevel p_81315_, int p_81316_, String p_81317_, Component p_81318_, MinecraftServer p_81319_, Entity p_81320_, boolean p_81321_, com.mojang.brigadier.ResultConsumer<CommandSourceStack> p_81322_, EntityAnchorArgument.Anchor p_81323_)
-
Uses of Vec2 in net.minecraft.commands.arguments.coordinates
Modifier and TypeMethodDescriptionCoordinates.getRotation(CommandSourceStack p_119567_)
LocalCoordinates.getRotation(CommandSourceStack p_119915_)
WorldCoordinates.getRotation(CommandSourceStack p_120896_)
static Vec2
Vec2Argument.getVec2(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120826_, String p_120827_)
-
Uses of Vec2 in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
WorldBorderCommand.setCenter(CommandSourceStack p_139263_, Vec2 p_139264_)
private static int
SpreadPlayersCommand.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 void
SpreadPlayersCommand.spreadPositions(Vec2 p_138711_, double p_138712_, ServerLevel p_138713_, Random p_138714_, double p_138715_, double p_138716_, double p_138717_, double p_138718_, int p_138719_, SpreadPlayersCommand.Position[] p_138720_, boolean p_138721_)
-
Uses of Vec2 in net.minecraft.world.entity
-
Uses of Vec2 in net.minecraft.world.phys
Modifier and TypeFieldDescriptionstatic Vec2
Vec2.MAX
static Vec2
Vec2.MIN
static Vec2
Vec2.NEG_UNIT_X
static Vec2
Vec2.NEG_UNIT_Y
static Vec2
Vec2.ONE
static Vec2
Vec2.UNIT_X
static Vec2
Vec2.UNIT_Y
static Vec2
Vec2.ZERO
Modifier and TypeMethodDescriptionVec2.add(float p_165909_)
Vec2.negated()
Vec2.normalized()
Vec2.scale(float p_165904_)
-
Uses of Vec2 in net.minecraftforge.client.model.b3d
Modifier and TypeFieldDescriptionprivate Vec2
B3DModel.Texture.pos
private Vec2
B3DModel.Texture.scale
-
Uses of Vec2 in net.minecraftforge.client.model.obj
Modifier and TypeMethodDescriptionprivate void
OBJModel.putVertexData(IVertexConsumer consumer, Vector4f position0, Vec2 texCoord0, Vector3f normal0, Vector4f color0, Vec2 uv2, TextureAtlasSprite texture)