net.minecraft.server.command

public class ServerCommandSource

implements CommandSource

cz
net.minecraft.commands.CommandSourceStack
net.minecraft.class_2168
net.minecraft.server.command.ServerCommandSource
net.minecraft.unmapped.C_pennblrk
net.minecraft.command.CommandSource
net.minecraft.command.CommandSource

Field summary

Modifier and TypeField
public static final SimpleCommandExceptionType
a
ERROR_NOT_PLAYER
field_9824
REQUIRES_PLAYER_EXCEPTION
f_eqbsiliu
field_197039_a
REQUIRES_PLAYER_EXCEPTION_TYPE
public static final SimpleCommandExceptionType
b
ERROR_NOT_ENTITY
field_9827
REQUIRES_ENTITY_EXCEPTION
f_gsmjatmo
field_197040_b
REQUIRES_ENTITY_EXCEPTION_TYPE
private final CommandOutput
c
source
field_9819
output
f_jgksdyeo
field_197041_c
source
private final Vec3d
d
worldPosition
field_9817
position
f_clxqynja
field_197042_d
pos
private final ServerWorld
e
level
field_9828
world
f_unafdtef
field_197043_e
world
private final int
f
permissionLevel
field_9815
level
f_iqamtfww
field_197044_f
permissionLevel
private final String
g
textName
field_9826
simpleName
f_lsvbdloo
field_197045_g
name
private final Text
h
displayName
field_9825
name
f_ubuztbnb
field_197046_h
displayName
private final MinecraftServer
i
server
field_9818
server
f_gjlllyce
field_197047_i
server
private final boolean
j
silent
field_9823
silent
f_vpispgtf
field_197048_j
feedbackDisabled
private final Entity
k
entity
field_9820
entity
f_oyhtmgnq
field_197049_k
entity
private final ResultConsumer<ServerCommandSource>
l
consumer
field_9821
resultConsumer
f_fpjuuwbd
field_197050_l
resultConsumer
private final EntityAnchorArgumentType$EntityAnchor
m
anchor
field_9816
entityAnchor
f_emcmwdsj
field_201011_m
entityAnchorType
private final Vec2f
n
rotation
field_9822
rotation
f_pzptpvma
field_201012_n
rotation

Constructor summary

ModifierConstructor
public (CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, Entity entity)
protected (CommandOutput output, Vec3d pos, Vec2f rot, ServerWorld world, int level, String simpleName, Text name, MinecraftServer server, Entity entity, boolean silent, ResultConsumer<ServerCommandSource> consumer, EntityAnchorArgumentType$EntityAnchor entityAnchor)

Method summary

Modifier and TypeMethod
public ServerCommandSource
a(aom arg0)
withEntity(Entity arg0)
method_9232(class_1297 arg0)
withEntity(Entity entity)
m_tzczuvds(C_astfners arg0)
func_197024_a(Entity arg0)
withEntity(Entity entityIn)
public ServerCommandSource
a(dem arg0)
withPosition(Vec3 arg0)
method_9208(class_243 arg0)
withPosition(Vec3d position)
m_snsmkbjm(C_vgpupfxx arg0)
func_201009_a(Vector3d arg0)
withPos(Vector3d posIn)
public ServerCommandSource
a(del arg0)
withRotation(Vec2 arg0)
method_9216(class_241 arg0)
withRotation(Vec2f rotation)
m_lxxpdexm(C_krlwdsom arg0)
func_201007_a(Vector2f arg0)
withRotation(Vector2f pitchYawIn)
public ServerCommandSource
a(ResultConsumer<cz> arg0)
withCallback(com.mojang.brigadier.ResultConsumer<CommandSourceStack> arg0)
method_9231(com.mojang.brigadier.ResultConsumer<class_2168> arg0)
withConsumer(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer)
m_mfybggux(com.mojang.brigadier.ResultConsumer<C_pennblrk> arg0)
func_197029_a(com.mojang.brigadier.ResultConsumer<CommandSource> arg0)
withResultConsumer(com.mojang.brigadier.ResultConsumer<CommandSource> resultConsumerIn)
public ServerCommandSource
a(ResultConsumer<cz> arg0, BinaryOperator<ResultConsumer<cz>> arg1)
withCallback(com.mojang.brigadier.ResultConsumer<CommandSourceStack> arg0, BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSourceStack>> arg1)
method_9209(com.mojang.brigadier.ResultConsumer<class_2168> arg0, BinaryOperator<com.mojang.brigadier.ResultConsumer<class_2168>> arg1)
mergeConsumers(com.mojang.brigadier.ResultConsumer<ServerCommandSource> consumer, BinaryOperator<com.mojang.brigadier.ResultConsumer<ServerCommandSource>> arg1)
m_kccuxtbb(com.mojang.brigadier.ResultConsumer<C_pennblrk> arg0, BinaryOperator<com.mojang.brigadier.ResultConsumer<C_pennblrk>> arg1)
func_209550_a(com.mojang.brigadier.ResultConsumer<CommandSource> arg0, BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSource>> arg1)
withResultConsumer(com.mojang.brigadier.ResultConsumer<CommandSource> resultConsumerIn, BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSource>> resultConsumerSelector)
public ServerCommandSource
a()
withSuppressedOutput()
method_9217()
withSilent()
m_jwydasrx()
func_197031_a()
withFeedbackDisabled()
public ServerCommandSource
a(int arg0)
withPermission(int arg0)
method_9206(int arg0)
withLevel(int level)
m_ezimijzj(int arg0)
func_197033_a(int arg0)
withPermissionLevel(int level)
public ServerCommandSource
b(int arg0)
withMaximumPermission(int arg0)
method_9230(int arg0)
withMaxLevel(int level)
m_mjeflcil(int arg0)
func_197026_b(int arg0)
withMinPermissionLevel(int level)
public ServerCommandSource
a(dg$a arg0)
withAnchor(EntityAnchorArgument$Anchor arg0)
method_9218(class_2183$class_2184 arg0)
withEntityAnchor(EntityAnchorArgumentType$EntityAnchor anchor)
m_zsrnilsj(C_xzznbkxo$C_vqytrhtw arg0)
func_201010_a(EntityAnchorArgument$Type arg0)
withEntityAnchorType(EntityAnchorArgument$Type entityAnchorTypeIn)
public ServerCommandSource
a(zd arg0)
withLevel(ServerLevel arg0)
method_9227(class_3218 arg0)
withWorld(ServerWorld world)
m_ivnmlzet(C_bdwnwhiu arg0)
func_201003_a(ServerWorld arg0)
withWorld(ServerWorld worldIn)
public ServerCommandSource
a(aom arg0, dg$a arg1)
facing(Entity arg0, EntityAnchorArgument$Anchor arg1)
method_9220(class_1297 arg0, class_2183$class_2184 arg1)
withLookingAt(Entity entity, EntityAnchorArgumentType$EntityAnchor anchor)
m_rxllehvf(C_astfners arg0, C_xzznbkxo$C_vqytrhtw arg1)
func_201006_a(Entity arg0, EntityAnchorArgument$Type arg1)
withRotation(Entity entityIn, EntityAnchorArgument$Type anchorType)
public ServerCommandSource
b(dem arg0)
facing(Vec3 arg0)
method_9221(class_243 arg0)
withLookingAt(Vec3d position)
m_qutkdoff(C_vgpupfxx arg0)
func_201005_b(Vector3d arg0)
withRotation(Vector3d lookPos)
public Text
b()
getDisplayName()
method_9223()
getDisplayName()
m_cafzqgph()
func_197019_b()
getDisplayName()
public String
c()
getTextName()
method_9214()
getName()
m_vuuhcdeb()
func_197037_c()
getName()
public boolean
c(int arg0)
hasPermission(int arg0)
method_9259(int arg0)
hasPermissionLevel(int arg0)
m_aqenybbl(int arg0)
func_197034_c(int arg0)
hasPermissionLevel(int arg0)
public Vec3d
d()
getPosition()
method_9222()
getPosition()
m_zdiolfqs()
func_197036_d()
getPos()
public ServerWorld
e()
getLevel()
method_9225()
getWorld()
m_qcqaxvij()
func_197023_e()
getWorld()
public Entity
f()
getEntity()
method_9228()
getEntity()
m_sfkqmmbn()
func_197022_f()
getEntity()
public Entity
g()
getEntityOrException()
method_9229()
getEntityOrThrow()
m_djocmkpt()
func_197027_g()
assertIsEntity()
public ServerPlayerEntity
h()
getPlayerOrException()
method_9207()
getPlayer()
m_ytnipjhs()
func_197035_h()
asPlayer()
public Vec2f
i()
getRotation()
method_9210()
getRotation()
m_iokujiqe()
func_201004_i()
getRotation()
public MinecraftServer
j()
getServer()
method_9211()
getMinecraftServer()
m_zsmnixwg()
func_197028_i()
getServer()
public EntityAnchorArgumentType$EntityAnchor
k()
getAnchor()
method_9219()
getEntityAnchor()
m_epyayyjl()
func_201008_k()
getEntityAnchorType()
public void
a(mr arg0, boolean arg1)
sendSuccess(Component arg0, boolean arg1)
method_9226(class_2561 arg0, boolean arg1)
sendFeedback(Text message, boolean broadcastToOps)
m_eacbkqvv(C_rdaqiwdt arg0, boolean arg1)
func_197030_a(ITextComponent arg0, boolean arg1)
sendFeedback(ITextComponent message, boolean allowLogging)
private void
b(mr arg0)
broadcastToAdmins(Component arg0)
method_9212(class_2561 arg0)
sendToOps(Text message)
m_kwmorxvb(C_rdaqiwdt arg0)
func_197020_b(ITextComponent arg0)
logFeedback(ITextComponent message)
public void
a(mr arg0)
sendFailure(Component arg0)
method_9213(class_2561 arg0)
sendError(Text message)
m_tyzxzhqs(C_rdaqiwdt arg0)
func_197021_a(ITextComponent arg0)
sendErrorMessage(ITextComponent message)
public void
a(CommandContext<cz> arg0, boolean arg1, int arg2)
onCommandComplete(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, boolean arg1, int arg2)
method_9215(com.mojang.brigadier.context.CommandContext<class_2168> arg0, boolean arg1, int arg2)
onCommandComplete(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean success, int result)
m_tknxizei(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, boolean arg1, int arg2)
func_197038_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, boolean arg1, int arg2)
onCommandComplete(com.mojang.brigadier.context.CommandContext<CommandSource> context, boolean success, int result)
public Collection<String>
l()
getOnlinePlayerNames()
method_9262()
getPlayerNames()
m_sdmegyog()
func_197011_j()
getPlayerNames()
public Collection<String>
m()
getAllTeams()
method_9267()
getTeamNames()
m_zslipvel()
func_197012_k()
getTeamNames()
public Collection<Identifier>
n()
getAvailableSoundEvents()
method_9254()
getSoundIds()
m_wpagzjoc()
func_197010_l()
getSoundResourceLocations()
public Stream<Identifier>
o()
getRecipeNames()
method_9273()
getRecipeIds()
m_sibutfci()
func_199612_m()
getRecipeResourceLocations()
public CompletableFuture<Suggestions>
a(CommandContext<db> arg0, SuggestionsBuilder arg1)
customSuggestion(com.mojang.brigadier.context.CommandContext<SharedSuggestionProvider> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
method_9261(com.mojang.brigadier.context.CommandContext<class_2172> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
getCompletions(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
m_ucxbakal(com.mojang.brigadier.context.CommandContext<C_sasfholk> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
func_197009_a(com.mojang.brigadier.context.CommandContext<ISuggestionProvider> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
getSuggestionsFromServer(com.mojang.brigadier.context.CommandContext<ISuggestionProvider> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Set<RegistryKey<World>>
p()
levels()
method_29310()
getWorldKeys()
m_kduuyfdv()
func_230390_p_()
func_230390_p_()