java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<S>
mods.thecomputerizer.theimpossiblelibrary.api.server.CommandSenderAPI<com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack>>
mods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.server.CommandSender1_18_2
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor, mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack>>

public class CommandSender1_18_2 extends mods.thecomputerizer.theimpossiblelibrary.api.server.CommandSenderAPI<com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack>>
  • Field Summary

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    wrapped

    Fields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor

    BOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?>
     
     
    mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?>
     
    void
    sendMessage(mods.thecomputerizer.theimpossiblelibrary.api.text.TextAPI<?> text)
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.server.CommandSenderAPI

    getServer

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    equals, getWrapped, getWrappedClass, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped

    getIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefault
  • Constructor Details

    • CommandSender1_18_2

      public CommandSender1_18_2(Object context)
  • Method Details

    • getEntity

      @Nullable public @Nullable mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?> getEntity()
      Specified by:
      getEntity in class mods.thecomputerizer.theimpossiblelibrary.api.server.CommandSenderAPI<com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack>>
    • getName

      public String getName()
      Specified by:
      getName in class mods.thecomputerizer.theimpossiblelibrary.api.server.CommandSenderAPI<com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack>>
    • getWorld

      public mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> getWorld()
      Specified by:
      getWorld in class mods.thecomputerizer.theimpossiblelibrary.api.server.CommandSenderAPI<com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack>>
    • sendMessage

      public void sendMessage(mods.thecomputerizer.theimpossiblelibrary.api.text.TextAPI<?> text)
      Specified by:
      sendMessage in class mods.thecomputerizer.theimpossiblelibrary.api.server.CommandSenderAPI<com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack>>