Interface CommandSource

All Known Implementing Classes:
AbstractArrowEntity, AbstractClientPlayerEntity, AbstractDecorationEntity, AbstractMinecartEntity, AmbientEntity, AnimalEntity, ArmorStandEntity, BarrierParticle, BatEntity, BlazeEntity, BlockDustParticle, BlockLeakParticle, BlockParticle, BoatEntity, CaveSpiderEntity, ChestMinecartEntity, ChickenEntity, ClientPlayerEntity, CloudParticle, CommandBlockExecutor, CommandBlockMinecartEntity, Console, CowEntity, CreeperEntity, DamageParticle, EggEntity, ElderGuardianAppearanceParticle, EmitterParticle, EmotionParticle, EnchantGlyphParticle, EndCrystalEntity, EnderDragonEntity, EnderDragonPart, EndermanEntity, EndermiteEntity, EnderPearlEntity, Entity, ExperienceBottleEntity, ExperienceOrbEntity, ExplosionEmitterParticle, ExplosionSmokeParticle, ExplosiveProjectileEntity, EyeOfEnderEntity, FallingBlockEntity, FireballEntity, FireSmokeParticle, FireworkRocketEntity, FireworksSparkParticle.Explosion, FireworksSparkParticle.FireworkParticle, FireworksSparkParticle.Flash, FishingBobberEntity, FishingParticle, FlameParticle, FlyingEntity, FootstepParticle, FurnaceMinecartEntity, GhastEntity, GiantEntity, GolemEntity, GuardianEntity, HopperMinecartEntity, HorseBaseEntity, HostileEntity, IntegratedServer, IronGolemEntity, ItemEntity, ItemFrameEntity, ItemPickupParticle, LargeExplosionParticle, LargeFireSmokeParticle, LavaEmberParticle, LeashKnotEntity, LightningBoltEntity, LivingEntity, MagmaCubeEntity, MinecartEntity, MinecraftDedicatedServer, MinecraftServer, MobEntity, MooshroomEntity, NoteParticle, OcelotEntity, OtherClientPlayerEntity, PaintingEntity, Particle, PassiveEntity, PathAwareEntity, PigEntity, PlayerEntity, PortalParticle, PotionEntity, RabbitEntity, RainSplashParticle, RedstoneParticle, ServerPlayerEntity, SheepEntity, SilverfishEntity, SkeletonEntity, SlimeEntity, SmallFireballEntity, SnowballEntity, SnowballParticle, SnowGolemEntity, SnowShovelParticle, SpawnerMinecartEntity, SpellParticle, SpiderEntity, SquidEntity, StorageMinecartEntity, SuspendedParticle, TameableEntity, ThrowableEntity, TntEntity, TntMinecartEntity, VillageParticle, VillagerEntity, WaterBubbleParticle, WaterCreatureEntity, WaterSplashParticle, WeatherEntity, WitchEntity, WitherEntity, WitherSkullEntity, WolfEntity, ZombieEntity, ZombiePigmanEntity

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

    • getTranslationKey

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

      Text method_6344()
      Mappings:
      Namespace Name Mixin selector
      official f_ Lm;f_()Leu;
      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 Lm;a(Leu;)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 Lm;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 Lm;c()Lcj;
      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 Lm;d()Laui;
      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 Lm;e()Ladm;
      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

      Entity getEntity()
      Mappings:
      Namespace Name Mixin selector
      official f Lm;f()Lpk;
      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 u_ Lm;u_()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 Lm;a(Ln$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