net.minecraft.server.commands

public class SpreadPlayersCommand

apg
net.minecraft.server.commands.SpreadPlayersCommand
net.minecraft.class_3131
net.minecraft.unmapped.C_gfqfgxru
net.minecraft.server.command.SpreadPlayersCommand
net.minecraft.server.command.SpreadPlayersCommand

Field summary

Modifier and TypeField
private static final int
a
MAX_ITERATION_COUNT
field_33397
f_yfcadunh
MAX_ATTEMPTS
MAX_ATTEMPTS
private static final com.mojang.brigadier.exceptions.Dynamic4CommandExceptionType
b
ERROR_FAILED_TO_SPREAD_TEAMS
field_13734
f_pmvjgsxk
FAILED_TEAMS_EXCEPTION
FAILED_TEAMS_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic4CommandExceptionType
c
ERROR_FAILED_TO_SPREAD_ENTITIES
field_13735
f_yolflnyj
FAILED_ENTITIES_EXCEPTION
FAILED_ENTITIES_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
d
ERROR_INVALID_MAX_HEIGHT
field_36326
f_geyzkswp
INVALID_HEIGHT_EXCEPTION
INVALID_HEIGHT_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ei> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13654(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
m_iwpoevvq(com.mojang.brigadier.CommandDispatcher<C_pennblrk> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
a(ei arg0, fep arg1, float arg2, float arg3, int arg4, boolean arg5, Collection<? extends bwf> 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)
m_kfjbvqej(C_pennblrk arg0, C_krlwdsom arg1, float arg2, float arg3, int arg4, boolean arg5, Collection<? extends C_astfners> arg6)
execute(ServerCommandSource source, Vec2f center, float spreadDistance, float maxRange, int maxY, boolean respectTeams, Collection<? extends Entity> players)
execute(ServerCommandSource source, Vec2f center, float spreadDistance, float maxRange, int maxY, boolean respectTeams, Collection<? extends Entity> players)
private static int
a(Collection<? extends bwf> arg0)
getNumberOfTeams(Collection<? extends Entity> arg0)
method_13652(Collection<? extends class_1297> arg0)
m_dnesgaqy(Collection<? extends C_astfners> arg0)
getPileCountRespectingTeams(Collection<? extends Entity> entities)
getPileCountRespectingTeams(Collection<? extends Entity> entities)
private static void
a(fep arg0, double arg1, arq arg2, azv arg3, double arg4, double arg5, double arg6, double arg7, int arg8, apg$a[] arg9, boolean arg10)
spreadPositions(Vec2 arg0, double arg1, ServerLevel arg2, RandomSource 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, class_5819 arg3, double arg4, double arg5, double arg6, double arg7, int arg8, class_3131$class_3132[] arg9, boolean arg10)
m_kyauvdcv(C_krlwdsom arg0, double arg1, C_bdwnwhiu arg2, C_rlomrsco arg3, double arg4, double arg5, double arg6, double arg7, int arg8, C_gfqfgxru$C_clafkavq[] 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)
spread(Vec2f center, double spreadDistance, ServerWorld world, RandomGenerator random, double minX, double minZ, double maxX, double maxZ, int maxY, SpreadPlayersCommand$Pile[] piles, boolean respectTeams)
private static double
a(Collection<? extends bwf> arg0, arq arg1, apg$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)
m_qfrmovmv(Collection<? extends C_astfners> arg0, C_bdwnwhiu arg1, C_gfqfgxru$C_clafkavq[] arg2, int arg3, boolean arg4)
getMinDistance(Collection<? extends Entity> entities, ServerWorld world, SpreadPlayersCommand$Pile[] piles, int maxY, boolean respectTeams)
getMinDistance(Collection<? extends Entity> entities, ServerWorld world, SpreadPlayersCommand$Pile[] piles, int maxY, boolean respectTeams)
private static SpreadPlayersCommand$Position[]
a(azv arg0, int arg1, double arg2, double arg3, double arg4, double arg5)
createInitialPositions(RandomSource arg0, int arg1, double arg2, double arg3, double arg4, double arg5)
method_13653(class_5819 arg0, int arg1, double arg2, double arg3, double arg4, double arg5)
m_prlfcbmd(C_rlomrsco arg0, int arg1, double arg2, double arg3, double arg4, double arg5)
makePiles(Random random, int count, double minX, double minZ, double maxX, double maxZ)
makePiles(RandomGenerator random, int count, double minX, double minZ, double maxX, double maxZ)