net.minecraft.server.commands

public class SpreadPlayersCommand

vg
net.minecraft.server.commands.SpreadPlayersCommand
net.minecraft.class_3131
net.minecraft.server.command.SpreadPlayersCommand
net.minecraft.command.impl.SpreadPlayersCommand
net.minecraft.server.v1_15_R1.CommandSpreadPlayers

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.Dynamic4CommandExceptionType
a
ERROR_FAILED_TO_SPREAD_TEAMS
field_13734
FAILED_TEAMS_EXCEPTION
field_198723_a
private static final com.mojang.brigadier.exceptions.Dynamic4CommandExceptionType
b
ERROR_FAILED_TO_SPREAD_ENTITIES
field_13735
FAILED_ENTITIES_EXCEPTION
field_198724_b

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<cq> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13654(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
func_198716_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
private static int
a(cq arg0, cvk arg1, float arg2, float arg3, boolean arg4, Collection<? extends akq> arg5)
spreadPlayers(CommandSourceStack arg0, Vec2 arg1, float arg2, float arg3, boolean arg4, Collection<? extends Entity> arg5)
method_13656(class_2168 arg0, class_241 arg1, float arg2, float arg3, boolean arg4, Collection<? extends class_1297> arg5)
execute(ServerCommandSource source, Vec2f center, float spreadDistance, float maxRange, boolean respectTeams, Collection<? extends Entity> targets)
func_198722_a(CommandSource arg0, Vec2f arg1, float arg2, float arg3, boolean arg4, Collection<? extends Entity> arg5)
private static int
a(Collection<? extends akq> arg0)
getNumberOfTeams(Collection<? extends Entity> arg0)
method_13652(Collection<? extends class_1297> arg0)
getPileCountRespectingTeams(Collection<? extends Entity> entities)
func_198715_a(Collection<? extends Entity> arg0)
private static void
a(cvk arg0, double arg1, xd arg2, Random arg3, double arg4, double arg5, double arg6, double arg7, vg$a[] arg8, boolean arg9)
spreadPositions(Vec2 arg0, double arg1, ServerLevel arg2, Random arg3, double arg4, double arg5, double arg6, double arg7, SpreadPlayersCommand$Position[] arg8, boolean arg9)
method_13661(class_241 arg0, double arg1, class_3218 arg2, Random arg3, double arg4, double arg5, double arg6, double arg7, class_3131$class_3132[] arg8, boolean arg9)
spread(Vec2f center, double spreadDistance, ServerWorld world, Random random, double minX, double minZ, double maxX, double maxZ, SpreadPlayersCommand$Pile[] piles, boolean respectTeams)
func_198717_a(Vec2f arg0, double arg1, ServerWorld arg2, Random arg3, double arg4, double arg5, double arg6, double arg7, SpreadPlayersCommand$Position[] arg8, boolean arg9)
private static double
a(Collection<? extends akq> arg0, xd arg1, vg$a[] arg2, boolean arg3)
setPlayerPositions(Collection<? extends Entity> arg0, ServerLevel arg1, SpreadPlayersCommand$Position[] arg2, boolean arg3)
method_13657(Collection<? extends class_1297> arg0, class_3218 arg1, class_3131$class_3132[] arg2, boolean arg3)
getMinimumDistance(Collection<? extends Entity> entities, ServerWorld world, SpreadPlayersCommand$Pile[] piles, boolean betweenTeams)
func_198719_a(Collection<? extends Entity> arg0, ServerWorld arg1, SpreadPlayersCommand$Position[] arg2, boolean arg3)
private static SpreadPlayersCommand$Position[]
a(Random arg0, int arg1, double arg2, double arg3, double arg4, double arg5)
createInitialPositions(Random arg0, int arg1, double arg2, double arg3, double arg4, double arg5)
method_13653(Random arg0, int arg1, double arg2, double arg3, double arg4, double arg5)
makePiles(Random random, int count, double minX, double minZ, double maxX, double maxZ)
func_198720_a(Random arg0, int arg1, double arg2, double arg3, double arg4, double arg5)