net.minecraft.commands

public class CommandSourceStack

implements SharedSuggestionProvider

cq
net.minecraft.commands.CommandSourceStack
net.minecraft.class_2168
net.minecraft.unmapped.C_pennblrk
net.minecraft.server.command.ServerCommandSource
net.minecraft.command.CommandSource
net.minecraft.server.v1_15_R1.CommandListenerWrapper

Field summary

Modifier and TypeField
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_NOT_PLAYER
field_9824
f_eqbsiliu
REQUIRES_PLAYER_EXCEPTION
field_197039_a
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_NOT_ENTITY
field_9827
f_gsmjatmo
REQUIRES_ENTITY_EXCEPTION
field_197040_b
private final CommandSource
c
source
field_9819
f_jgksdyeo
output
field_197041_c
base
private final Vec3
d
worldPosition
field_9817
f_clxqynja
position
field_197042_d
private final ServerLevel
e
level
field_9828
f_unafdtef
world
field_197043_e
private final int
f
permissionLevel
field_9815
f_iqamtfww
level
field_197044_f
private final String
g
textName
field_9826
f_lsvbdloo
simpleName
field_197045_g
private final Component
h
displayName
field_9825
f_ubuztbnb
name
field_197046_h
private final MinecraftServer
i
server
field_9818
f_gjlllyce
minecraftServer
field_197047_i
private final boolean
j
silent
field_9823
f_vpispgtf
silent
field_197048_j
private final Entity
k
entity
field_9820
f_oyhtmgnq
entity
field_197049_k
private final com.mojang.brigadier.ResultConsumer<CommandSourceStack>
l
consumer
field_9821
f_fpjuuwbd
resultConsumer
field_197050_l
private final EntityAnchorArgument$Anchor
m
anchor
field_9816
f_emcmwdsj
entityAnchor
field_201011_m
private final Vec2
n
rotation
field_9822
f_pzptpvma
rotation
field_201012_n

Constructor summary

ModifierConstructor
public (CommandSource output, Vec3 pos, Vec2 rot, ServerLevel world, int level, String simpleName, Component name, MinecraftServer server, Entity entity)
protected (CommandSource output, Vec3 pos, Vec2 rot, ServerLevel world, int level, String simpleName, Component name, MinecraftServer server, Entity entity, boolean silent, com.mojang.brigadier.ResultConsumer<CommandSourceStack> resultConsumer, EntityAnchorArgument$Anchor entityAnchor)

Method summary

Modifier and TypeMethod
public CommandSourceStack
a(akn arg0)
withEntity(Entity arg0)
method_9232(class_1297 arg0)
m_tzczuvds(C_astfners arg0)
withEntity(Entity entity)
func_197024_a(Entity arg0)
public CommandSourceStack
a(cvi arg0)
withPosition(Vec3 arg0)
method_9208(class_243 arg0)
m_snsmkbjm(C_vgpupfxx arg0)
withPosition(Vec3d position)
func_201009_a(Vec3d arg0)
public CommandSourceStack
a(cvh arg0)
withRotation(Vec2 arg0)
method_9216(class_241 arg0)
m_lxxpdexm(C_krlwdsom arg0)
withRotation(Vec2f rotation)
func_201007_a(Vec2f arg0)
public CommandSourceStack
a(com.mojang.brigadier.ResultConsumer<cq> arg0)
withCallback(com.mojang.brigadier.ResultConsumer<CommandSourceStack> arg0)
method_9231(com.mojang.brigadier.ResultConsumer<class_2168> arg0)
m_mfybggux(com.mojang.brigadier.ResultConsumer<C_pennblrk> arg0)
withConsumer(com.mojang.brigadier.ResultConsumer<ServerCommandSource> resultConsumer)
func_197029_a(com.mojang.brigadier.ResultConsumer<CommandSource> arg0)
public CommandSourceStack
a(com.mojang.brigadier.ResultConsumer<cq> arg0, BinaryOperator<com.mojang.brigadier.ResultConsumer<cq>> 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)
m_kccuxtbb(com.mojang.brigadier.ResultConsumer<C_pennblrk> arg0, BinaryOperator<com.mojang.brigadier.ResultConsumer<C_pennblrk>> arg1)
mergeConsumers(com.mojang.brigadier.ResultConsumer<ServerCommandSource> arg0, BinaryOperator<com.mojang.brigadier.ResultConsumer<ServerCommandSource>> arg1)
func_209550_a(com.mojang.brigadier.ResultConsumer<CommandSource> arg0, BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSource>> arg1)
public CommandSourceStack
a()
withSuppressedOutput()
method_9217()
m_jwydasrx()
withSilent()
func_197031_a()
public CommandSourceStack
a(int arg0)
withPermission(int arg0)
method_9206(int arg0)
m_ezimijzj(int arg0)
withLevel(int level)
func_197033_a(int arg0)
public CommandSourceStack
b(int arg0)
withMaximumPermission(int arg0)
method_9230(int arg0)
m_mjeflcil(int arg0)
withMaxLevel(int level)
func_197026_b(int arg0)
public CommandSourceStack
a(cx$a arg0)
withAnchor(EntityAnchorArgument$Anchor arg0)
method_9218(class_2183$class_2184 arg0)
m_zsrnilsj(C_xzznbkxo$C_vqytrhtw arg0)
withEntityAnchor(EntityAnchorArgumentType$EntityAnchor anchor)
func_201010_a(EntityAnchorArgument$Type arg0)
public CommandSourceStack
a(xd arg0)
withLevel(ServerLevel arg0)
method_9227(class_3218 arg0)
m_ivnmlzet(C_bdwnwhiu arg0)
withWorld(ServerWorld world)
func_201003_a(ServerWorld arg0)
public CommandSourceStack
a(akn arg0, cx$a arg1)
facing(Entity arg0, EntityAnchorArgument$Anchor arg1)
method_9220(class_1297 arg0, class_2183$class_2184 arg1)
m_rxllehvf(C_astfners arg0, C_xzznbkxo$C_vqytrhtw arg1)
withLookingAt(Entity entity, EntityAnchorArgumentType$EntityAnchor anchor)
func_201006_a(Entity arg0, EntityAnchorArgument$Type arg1)
public CommandSourceStack
b(cvi arg0)
facing(Vec3 arg0)
method_9221(class_243 arg0)
m_qutkdoff(C_vgpupfxx arg0)
withLookingAt(Vec3d position)
func_201005_b(Vec3d arg0)
public Component
b()
getDisplayName()
method_9223()
m_cafzqgph()
getDisplayName()
func_197019_b()
getScoreboardDisplayName()
public String
c()
getTextName()
method_9214()
m_vuuhcdeb()
getName()
func_197037_c()
getName()
public boolean
c(int arg0)
hasPermission(int arg0)
method_9259(int arg0)
m_aqenybbl(int arg0)
hasPermissionLevel(int arg0)
func_197034_c(int arg0)
hasPermission(int arg0)
public Vec3
d()
getPosition()
method_9222()
m_zdiolfqs()
getPosition()
func_197036_d()
getPosition()
public ServerLevel
e()
getLevel()
method_9225()
m_qcqaxvij()
getWorld()
func_197023_e()
getWorld()
public Entity
f()
getEntity()
method_9228()
m_sfkqmmbn()
getEntity()
func_197022_f()
getEntity()
public Entity
g()
getEntityOrException()
method_9229()
m_djocmkpt()
getEntityOrThrow()
func_197027_g()
public ServerPlayer
h()
getPlayerOrException()
method_9207()
m_ytnipjhs()
getPlayer()
func_197035_h()
public Vec2
i()
getRotation()
method_9210()
m_iokujiqe()
getRotation()
func_201004_i()
public MinecraftServer
j()
getServer()
method_9211()
m_zsmnixwg()
getMinecraftServer()
func_197028_i()
getServer()
public EntityAnchorArgument$Anchor
k()
getAnchor()
method_9219()
m_epyayyjl()
getEntityAnchor()
func_201008_k()
public void
a(lf arg0, boolean arg1)
sendSuccess(Component arg0, boolean arg1)
method_9226(class_2561 arg0, boolean arg1)
m_eacbkqvv(C_rdaqiwdt arg0, boolean arg1)
sendFeedback(Text message, boolean broadcastToOps)
func_197030_a(ITextComponent arg0, boolean arg1)
sendMessage(IChatBaseComponent arg0, boolean arg1)
private void
b(lf arg0)
broadcastToAdmins(Component arg0)
method_9212(class_2561 arg0)
m_kwmorxvb(C_rdaqiwdt arg0)
sendToOps(Text message)
func_197020_b(ITextComponent arg0)
sendAdminMessage(IChatBaseComponent arg0)
public void
a(lf arg0)
sendFailure(Component arg0)
method_9213(class_2561 arg0)
m_tyzxzhqs(C_rdaqiwdt arg0)
sendError(Text message)
func_197021_a(ITextComponent arg0)
sendFailureMessage(IChatBaseComponent arg0)
public void
a(com.mojang.brigadier.context.CommandContext<cq> 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)
m_tknxizei(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, boolean arg1, int arg2)
onCommandComplete(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean success, int result)
func_197038_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, boolean arg1, int arg2)
public Collection<String>
l()
getOnlinePlayerNames()
method_9262()
m_sdmegyog()
getPlayerNames()
func_197011_j()
public Collection<String>
m()
getAllTeams()
method_9267()
m_zslipvel()
getTeamNames()
func_197012_k()
public Collection<ResourceLocation>
n()
getAvailableSoundEvents()
method_9254()
m_wpagzjoc()
getSoundIds()
func_197010_l()
public Stream<ResourceLocation>
o()
getRecipeNames()
method_9273()
m_sibutfci()
getRecipeIds()
func_199612_m()
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.context.CommandContext<cs> arg0, com.mojang.brigadier.suggestion.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)
m_ucxbakal(com.mojang.brigadier.context.CommandContext<C_sasfholk> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
getCompletions(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
func_197009_a(com.mojang.brigadier.context.CommandContext<ISuggestionProvider> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)