Uses of Class
net.minecraft.util.math.Vec2f
Package
Description
-
Uses of Vec2f in net.minecraft.client.gui.screen
-
Uses of Vec2f in net.minecraft.client.input
-
Uses of Vec2f in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic Vec2f
Vec2ArgumentType.getVec2(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
DefaultPosArgument.toAbsoluteRotation(ServerCommandSource source)
LookingPosArgument.toAbsoluteRotation(ServerCommandSource source)
PosArgument.toAbsoluteRotation(ServerCommandSource source)
-
Uses of Vec2f in net.minecraft.entity
-
Uses of Vec2f in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate 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.withRotation(Vec2f rotation)
ModifierConstructorDescriptionServerCommandSource(CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, @Nullable Entity entity)
protected
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
Modifier and TypeFieldDescriptionstatic 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