net.minecraft.server.commands

public class SpreadPlayersCommand

abm
net.minecraft.server.commands.SpreadPlayersCommand
net.minecraft.class_3131
net.minecraft.server.command.SpreadPlayersCommand
net.minecraft.src.C_5376_
net.minecraft.server.commands.CommandSpreadPlayers

Field summary

Modifier and TypeField
private static final int
a
MAX_ITERATION_COUNT
field_33397
MAX_ATTEMPTS
f_180523_
private static final com.mojang.brigadier.exceptions.Dynamic4CommandExceptionType
b
ERROR_FAILED_TO_SPREAD_TEAMS
field_13734
FAILED_TEAMS_EXCEPTION
f_138693_
private static final com.mojang.brigadier.exceptions.Dynamic4CommandExceptionType
c
ERROR_FAILED_TO_SPREAD_ENTITIES
field_13735
FAILED_ENTITIES_EXCEPTION
f_138694_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dm> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13654(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_138696_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_138697_)
private static int
a(dm arg0, dol arg1, float arg2, float arg3, int arg4, boolean arg5, Collection<? extends awt> arg6)
spreadPlayers(CommandSourceStack arg0, Vec2 arg1, float arg2, float arg3, int arg4, boolean arg5, Collection<? extends Entity> arg6)
method_13656(class_2168 arg0, class_241 arg1, float arg2, float arg3, int arg4, boolean arg5, Collection<? extends class_1297> arg6)
execute(ServerCommandSource source, Vec2f center, float spreadDistance, float maxRange, int maxY, boolean respectTeams, Collection<? extends Entity> players)
m_138702_(C_2969_ p_138703_, C_3045_ p_138704_, float p_138705_, float p_138706_, int p_138707_, boolean p_138708_, Collection<? extends C_507_> p_138709_)
private static int
a(Collection<? extends awt> arg0)
getNumberOfTeams(Collection<? extends Entity> arg0)
method_13652(Collection<? extends class_1297> arg0)
getPileCountRespectingTeams(Collection<? extends Entity> entities)
m_138727_(Collection<? extends C_507_> p_138728_)
private static void
a(dol arg0, double arg1, adi arg2, Random arg3, double arg4, double arg5, double arg6, double arg7, int arg8, abm$a[] arg9, boolean arg10)
spreadPositions(Vec2 arg0, double arg1, ServerLevel arg2, Random arg3, double arg4, double arg5, double arg6, double arg7, int arg8, SpreadPlayersCommand$Position[] arg9, boolean arg10)
method_13661(class_241 arg0, double arg1, class_3218 arg2, Random arg3, double arg4, double arg5, double arg6, double arg7, int arg8, class_3131$class_3132[] arg9, boolean arg10)
spread(Vec2f center, double spreadDistance, ServerWorld world, Random random, double minX, double minZ, double maxX, double maxZ, int maxY, SpreadPlayersCommand$Pile[] piles, boolean respectTeams)
m_138710_(C_3045_ p_138711_, double p_138712_, C_12_ p_138714_, Random p_138715_, double p_138716_, double p_138718_, double p_138720_, double arg7, int arg8, C_5376_$C_5377_[] arg9, boolean arg10)
private static double
a(Collection<? extends awt> arg0, adi arg1, abm$a[] arg2, int arg3, boolean arg4)
setPlayerPositions(Collection<? extends Entity> arg0, ServerLevel arg1, SpreadPlayersCommand$Position[] arg2, int arg3, boolean arg4)
method_13657(Collection<? extends class_1297> arg0, class_3218 arg1, class_3131$class_3132[] arg2, int arg3, boolean arg4)
getMinDistance(Collection<? extends Entity> entities, ServerWorld world, SpreadPlayersCommand$Pile[] piles, int maxY, boolean respectTeams)
m_138729_(Collection<? extends C_507_> p_138730_, C_12_ p_138731_, C_5376_$C_5377_[] p_138732_, int p_138733_, boolean p_138734_)
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)
m_138735_(Random p_138736_, int p_138737_, double p_138738_, double p_138740_, double arg4, double arg5)