Uses of Class
net.minecraft.util.math.Vec2f
Package | Description |
---|---|
net.minecraft.client.gui.screen | |
net.minecraft.client.input | |
net.minecraft.command.argument | |
net.minecraft.entity | |
net.minecraft.server.command | |
net.minecraft.util.math |
-
Uses of Vec2f in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as Vec2f Modifier and Type Field Description private Vec2f
CommandSuggestor.SuggestionWindow. mouse
-
Uses of Vec2f in net.minecraft.client.input
Methods in net.minecraft.client.input that return Vec2f Modifier and Type Method Description Vec2f
Input. getMovementInput()
-
Uses of Vec2f in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return Vec2f Modifier and Type Method Description static Vec2f
Vec2ArgumentType. getVec2(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
Vec2f
DefaultPosArgument. toAbsoluteRotation(ServerCommandSource source)
Vec2f
LookingPosArgument. toAbsoluteRotation(ServerCommandSource source)
Vec2f
PosArgument. toAbsoluteRotation(ServerCommandSource source)
Methods in net.minecraft.command.argument with parameters of type Vec2f Modifier and Type Method Description static DefaultPosArgument
DefaultPosArgument. method_35811(Vec2f vec2f)
-
Uses of Vec2f in net.minecraft.entity
Methods in net.minecraft.entity that return Vec2f Modifier and Type Method Description Vec2f
Entity. getRotationClient()
-
Uses of Vec2f in net.minecraft.server.command
Fields in net.minecraft.server.command declared as Vec2f Modifier and Type Field Description private Vec2f
ServerCommandSource. rotation
Methods in net.minecraft.server.command that return Vec2f Modifier and Type Method Description Vec2f
ServerCommandSource. getRotation()
Methods in net.minecraft.server.command with parameters of type Vec2f Modifier and Type Method Description private static int
SpreadPlayersCommand. execute(ServerCommandSource source, Vec2f center, float spreadDistance, float maxRange, int maxY, boolean respectTeams, Collection<? extends Entity> players)
private static int
WorldBorderCommand. executeCenter(ServerCommandSource source, Vec2f pos)
private static void
SpreadPlayersCommand. spread(Vec2f center, double spreadDistance, ServerWorld world, Random random, double minX, double minZ, double maxX, double maxZ, int maxY, SpreadPlayersCommand.Pile[] piles, boolean respectTeams)
ServerCommandSource
ServerCommandSource. withRotation(Vec2f rotation)
Constructors in net.minecraft.server.command with parameters of type Vec2f Constructor Description ServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity)
ServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity, boolean silent, com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, EntityAnchorArgumentType.EntityAnchor entityAnchor)
-
Uses of Vec2f in net.minecraft.util.math
Fields in net.minecraft.util.math declared as Vec2f Modifier and Type Field Description static Vec2f
Vec2f. EAST_UNIT
static Vec2f
Vec2f. MAX_SOUTH_EAST
static Vec2f
Vec2f. MIN_SOUTH_EAST
static Vec2f
Vec2f. NORTH_UNIT
static Vec2f
Vec2f. SOUTH_EAST_UNIT
static Vec2f
Vec2f. SOUTH_UNIT
static Vec2f
Vec2f. WEST_UNIT
static Vec2f
Vec2f. ZERO
Methods in net.minecraft.util.math that return Vec2f Modifier and Type Method Description Vec2f
Vec2f. method_35581()
Vec2f
Vec2f. method_35582(float float2)
Vec2f
Vec2f. method_35585(float float2)
Vec2f
Vec2f. method_35586(Vec2f vec2f)
Vec2f
Vec2f. method_35588()
Methods in net.minecraft.util.math with parameters of type Vec2f Modifier and Type Method Description boolean
Vec2f. equals(Vec2f other)
static Vec3d
Vec3d. fromPolar(Vec2f polar)
float
Vec2f. method_35583(Vec2f vec2f)
Vec2f
Vec2f. method_35586(Vec2f vec2f)
float
Vec2f. method_35589(Vec2f vec2f)