net.minecraft.server.command

public class SpreadPlayersCommand

rt
net.minecraft.class_4431
net.minecraft.server.command.SpreadPlayersCommand
net.minecraft.command.impl.SpreadPlayersCommand
net.minecraft.command.impl.SpreadPlayersCommand

Field summary

Modifier and TypeField
private static final Dynamic4CommandExceptionType
a
field_21789
COULD_NOT_SPREAD_TEAMS_EXCEPTION
field_198723_a
SPREAD_TEAMS_FAILED
private static final Dynamic4CommandExceptionType
b
field_21790
COULD_NOT_SPREAD_ENTITIES_EXCEPTION
field_198724_b
SPREAD_ENTITIES_FAILED

Method summary

Modifier and TypeMethod
public static void
a(CommandDispatcher<bu> arg0)
method_21017(com.mojang.brigadier.CommandDispatcher<class_3915> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
func_198716_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int
a(bu arg0, ced arg1, float arg2, float arg3, boolean arg4, Collection<? extends aer> arg5)
method_21015(class_3915 arg0, class_3019 arg1, float arg2, float arg3, boolean arg4, Collection<? extends class_864> arg5)
spreadPlayers(CommandSourceStack source, Vec2f center, float spread, float range, boolean teams, Collection<? extends Entity> targets)
func_198722_a(CommandSource arg0, Vec2f arg1, float arg2, float arg3, boolean arg4, Collection<? extends Entity> arg5)
spreadPlayers(CommandSource source, Vec2f center, float spreadDistance, float maxRange, boolean respectTeams, Collection<? extends Entity> targets)
private static int
a(Collection<? extends aer> arg0)
method_21020(Collection<? extends class_864> arg0)
getTeamCount(Collection<? extends Entity> targets)
func_198715_a(Collection<? extends Entity> arg0)
getNumberOfTeams(Collection<? extends Entity> entities)
private static void
a(ced arg0, double arg1, td arg2, Random arg3, double arg4, double arg5, double arg6, double arg7, rt$a[] arg8, boolean arg9)
method_21016(class_3019 arg0, double arg1, class_795 arg2, Random arg3, double arg4, double arg5, double arg6, double arg7, class_4431$class_1598[] arg8, boolean arg9)
spreadPlayers(Vec2f pos, double spread, ServerWorld world, Random random, double minX, double minZ, double maxX, double maxZ, SpreadPlayersCommand$Pile[] piles, boolean teams)
func_198717_a(Vec2f arg0, double arg1, WorldServer arg2, Random arg3, double arg4, double arg5, double arg6, double arg7, SpreadPlayersCommand$Position[] arg8, boolean arg9)
ensureSufficientSeparation(Vec2f center, double maxZ, WorldServer worldIn, Random random, double minX, double minZ, double maxX, double arg7, SpreadPlayersCommand$Position[] arg8, boolean arg9)
private static double
a(Collection<? extends aer> arg0, td arg1, rt$a[] arg2, boolean arg3)
method_21021(Collection<? extends class_864> arg0, class_795 arg1, class_4431$class_1598[] arg2, boolean arg3)
teleportPlayers(Collection<? extends Entity> targets, ServerWorld world, SpreadPlayersCommand$Pile[] piles, boolean teams)
func_198719_a(Collection<? extends Entity> arg0, WorldServer arg1, SpreadPlayersCommand$Position[] arg2, boolean arg3)
doSpreading(Collection<? extends Entity> targets, WorldServer worldIn, SpreadPlayersCommand$Position[] positions, boolean respectTeams)
private static SpreadPlayersCommand$Pile[]
a(Random arg0, int arg1, double arg2, double arg3, double arg4, double arg5)
method_21022(Random arg0, int arg1, double arg2, double arg3, double arg4, double arg5)
makePiles(Random random, int random, double count, double minZ, double maxX, double maxZ)
func_198720_a(Random arg0, int arg1, double arg2, double arg3, double arg4, double arg5)
getPositions(Random random, int count, double minX, double minZ, double maxX, double maxZ)