Interface CommandSource

All Known Implementing Classes:
AbstractArrowEntity, AbstractClientPlayerEntity, AbstractDecorationEntity, AbstractMinecartEntity, AmbientEntity, AnimalEntity, AreaEffectCloudEntity, ArmorStandEntity, ArrowEntity, BatEntity, BlazeEntity, BoatEntity, CaveSpiderEntity, ChestMinecartEntity, ChickenEntity, class_3135, class_3136, class_3146, ClientPlayerEntity, CommandBlockExecutor, CommandBlockMinecartEntity, Console, CowEntity, CreeperEntity, DonkeyEntity, DragonFireballEntity, EggEntity, ElderGuardianEntity, EndCrystalEntity, EnderDragonEntity, EnderDragonPart, EndermanEntity, EndermiteEntity, EnderPearlEntity, Entity, EvocationIllagerEntity, EvokerFangsEntity, ExperienceBottleEntity, ExperienceOrbEntity, ExplosiveProjectileEntity, EyeOfEnderEntity, FallingBlockEntity, FireballEntity, FireworkRocketEntity, FishingBobberEntity, FlyingEntity, FurnaceMinecartEntity, GhastEntity, GiantEntity, GolemEntity, GuardianEntity, HopperMinecartEntity, HorseBaseEntity, HostileEntity, HuskEntity, IntegratedServer, IronGolemEntity, ItemEntity, ItemFrameEntity, LeashKnotEntity, LightningBoltEntity, LivingEntity, LlamaEntity, LlamaSpitEntity, MagmaCubeEntity, MinecartEntity, MinecraftDedicatedServer, MinecraftServer, MobEntity, MooshroomEntity, MuleEntity, OcelotEntity, OtherClientPlayerEntity, PaintingEntity, PassiveEntity, PathAwareEntity, PigEntity, PlayerEntity, PolarBearEntity, PotionEntity, RabbitEntity, ServerPlayerEntity, SheepEntity, ShulkerBulletEntity, ShulkerEntity, SilverfishEntity, SkeletonEntity, SkeletonHorseEntity, SlimeEntity, SmallFireballEntity, SnowballEntity, SnowGolemEntity, SpawnerMinecartEntity, SpetraclArrowEntity, SpiderEntity, SquidEntity, StorageMinecartEntity, StrayEntity, TameableEntity, ThrowableEntity, TntEntity, TntMinecartEntity, VexEntity, VillagerEntity, VindicationIllagerEntity, WaterCreatureEntity, WeatherEntity, WhitherSkeletonEntity, WitchEntity, WitherEntity, WitherSkullEntity, WolfEntity, ZombieEntity, ZombieHorseEntity, ZombiePigmanEntity, ZombieVillagerEntity

public interface CommandSource
Mappings:
Namespace Name
official n
intermediary net/minecraft/class_1061
named net/minecraft/command/CommandSource
  • Method Details

    • getTranslatedName

      String getTranslatedName()
      Mappings:
      Namespace Name Mixin selector
      official h_ Ln;h_()Ljava/lang/String;
      intermediary method_2518 Lnet/minecraft/class_1061;method_2518()Ljava/lang/String;
      named getTranslatedName Lnet/minecraft/command/CommandSource;getTranslatedName()Ljava/lang/String;
    • method_6344

      Text method_6344()
      Mappings:
      Namespace Name Mixin selector
      official i_ Ln;i_()Lfb;
      intermediary method_6344 Lnet/minecraft/class_1061;method_6344()Lnet/minecraft/class_1982;
      named method_6344 Lnet/minecraft/command/CommandSource;method_6344()Lnet/minecraft/text/Text;
    • sendMessage

      void sendMessage(Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Ln;a(Lfb;)V
      intermediary method_5505 Lnet/minecraft/class_1061;method_5505(Lnet/minecraft/class_1982;)V
      named sendMessage Lnet/minecraft/command/CommandSource;sendMessage(Lnet/minecraft/text/Text;)V
    • canUseCommand

      boolean canUseCommand(int permissionLevel, String commandLiteral)
      Mappings:
      Namespace Name Mixin selector
      official a Ln;a(ILjava/lang/String;)Z
      intermediary method_3333 Lnet/minecraft/class_1061;method_3333(ILjava/lang/String;)Z
      named canUseCommand Lnet/minecraft/command/CommandSource;canUseCommand(ILjava/lang/String;)Z
    • getBlockPos

      BlockPos getBlockPos()
      Mappings:
      Namespace Name Mixin selector
      official c Ln;c()Lco;
      intermediary method_4086 Lnet/minecraft/class_1061;method_4086()Lnet/minecraft/class_2552;
      named getBlockPos Lnet/minecraft/command/CommandSource;getBlockPos()Lnet/minecraft/util/math/BlockPos;
    • getPos

      Vec3d getPos()
      Mappings:
      Namespace Name Mixin selector
      official d Ln;d()Lbdw;
      intermediary method_10787 Lnet/minecraft/class_1061;method_10787()Lnet/minecraft/class_236;
      named getPos Lnet/minecraft/command/CommandSource;getPos()Lnet/minecraft/util/math/Vec3d;
    • getWorld

      World getWorld()
      Mappings:
      Namespace Name Mixin selector
      official e Ln;e()Lajs;
      intermediary method_5506 Lnet/minecraft/class_1061;method_5506()Lnet/minecraft/class_1150;
      named getWorld Lnet/minecraft/command/CommandSource;getWorld()Lnet/minecraft/world/World;
    • getEntity

      @Nullable Entity getEntity()
      Mappings:
      Namespace Name Mixin selector
      official f Ln;f()Lsn;
      intermediary method_10788 Lnet/minecraft/class_1061;method_10788()Lnet/minecraft/class_864;
      named getEntity Lnet/minecraft/command/CommandSource;getEntity()Lnet/minecraft/entity/Entity;
    • sendCommandFeedback

      boolean sendCommandFeedback()
      Mappings:
      Namespace Name Mixin selector
      official g Ln;g()Z
      intermediary method_10789 Lnet/minecraft/class_1061;method_10789()Z
      named sendCommandFeedback Lnet/minecraft/command/CommandSource;sendCommandFeedback()Z
    • setStat

      void setStat(CommandStats.Type statsType, int value)
      Mappings:
      Namespace Name Mixin selector
      official a Ln;a(Lo$a;I)V
      intermediary method_10786 Lnet/minecraft/class_1061;method_10786(Lnet/minecraft/class_2598$class_2599;I)V
      named setStat Lnet/minecraft/command/CommandSource;setStat(Lnet/minecraft/command/CommandStats$Type;I)V
    • getMinecraftServer

      @Nullable MinecraftServer getMinecraftServer()
      Mappings:
      Namespace Name Mixin selector
      official B_ Ln;B_()Lnet/minecraft/server/MinecraftServer;
      intermediary method_12833 Lnet/minecraft/class_1061;method_12833()Lnet/minecraft/server/MinecraftServer;
      named getMinecraftServer Lnet/minecraft/command/CommandSource;getMinecraftServer()Lnet/minecraft/server/MinecraftServer;