Interface MessageSenderKJS

All Known Subinterfaces:
ClientLevelKJS, ClientPlayerKJS, EntityKJS, ItemEntityKJS, ItemFrameEntityKJS, LevelKJS, LivingEntityKJS, LocalClientPlayerKJS, MinecraftClientKJS, MinecraftEnvironmentKJS, MinecraftServerKJS, PlayerKJS, ServerLevelKJS, ServerPlayerKJS, WithAttachedData<T>, WithPersistentData
All Known Implementing Classes:
AbstractClientPlayerMixin, ClientLevelMixin, net.minecraft.world.entity.Entity, EntityArrayList, EntityMixin, ItemEntityMixin, ItemFrameEntityMixin, LevelMixin, net.minecraft.world.entity.LivingEntity, LivingEntityMixin, LocalPlayerMixin, MinecraftClientMixin, MinecraftServerMixin, net.minecraft.world.entity.player.Player, PlayerMixin, ServerLevelMixin, ServerPlayerMixin

@RemapPrefixForJS("kjs$") public interface MessageSenderKJS
  • Method Details

    • kjs$getName

      default net.minecraft.network.chat.Component kjs$getName()
    • kjs$getDisplayName

      default net.minecraft.network.chat.Component kjs$getDisplayName()
    • kjs$tell

      @Info(value="Sends a message in chat to something.", params=@Param(name="message",value="A text component. It may be a string, which will be implicitly wrapped into a text component.")) default void kjs$tell(net.minecraft.network.chat.Component message)
    • kjs$setStatusMessage

      default void kjs$setStatusMessage(net.minecraft.network.chat.Component message)
    • kjs$runCommand

      @Info(value="Runs the specified console command.", params=@Param(name="command",value="The console command. Slash at the beginning is optional.")) default void kjs$runCommand(String command)
    • kjs$runCommandSilent

      @Info(value="Runs the specified console command. The command won\'t output any logs in chat nor console.", params=@Param(name="command",value="The console command. Slash at the beginning is optional.")) default void kjs$runCommandSilent(String command)
    • kjs$setActivePostShader

      default void kjs$setActivePostShader(@Nullable @Nullable net.minecraft.resources.ResourceLocation id)