Class ClientProxy

java.lang.Object
vazkii.botania.client.core.proxy.ClientProxy
All Implemented Interfaces:
Proxy

public class ClientProxy extends Object implements Proxy
  • Field Details

    • jingleTheBells

      public static boolean jingleTheBells
    • dootDoot

      public static boolean dootDoot
    • CORPOREA_REQUEST

      public static net.minecraft.client.KeyMapping CORPOREA_REQUEST
  • Constructor Details

    • ClientProxy

      public ClientProxy()
  • Method Details

    • initKeybindings

      public static void initKeybindings(Consumer<net.minecraft.client.KeyMapping> consumer)
    • initSeasonal

      public static void initSeasonal()
    • runOnClient

      public void runOnClient(Supplier<Runnable> s)
      Specified by:
      runOnClient in interface Proxy
    • getClientPlayer

      public net.minecraft.world.entity.player.Player getClientPlayer()
      Specified by:
      getClientPlayer in interface Proxy
    • lightningFX

      public void lightningFX(net.minecraft.world.level.Level level, net.minecraft.world.phys.Vec3 vectorStart, net.minecraft.world.phys.Vec3 vectorEnd, float ticksPerMeter, long seed, int colorOuter, int colorInner)
      Specified by:
      lightningFX in interface Proxy
    • addBoss

      public void addBoss(GaiaGuardianEntity boss)
      Specified by:
      addBoss in interface Proxy
    • removeBoss

      public void removeBoss(GaiaGuardianEntity boss)
      Specified by:
      removeBoss in interface Proxy
    • getClientRenderDistance

      public int getClientRenderDistance()
      Specified by:
      getClientRenderDistance in interface Proxy
    • addParticleForceNear

      public void addParticleForceNear(net.minecraft.world.level.Level world, net.minecraft.core.particles.ParticleOptions particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
      Description copied from interface: Proxy
      Same as world.addParticle(data, true, ...), but culls particles below 32 block distances.
      Specified by:
      addParticleForceNear in interface Proxy
    • showMultiblock

      public void showMultiblock(vazkii.patchouli.api.IMultiblock mb, net.minecraft.network.chat.Component name, net.minecraft.core.BlockPos anchor, net.minecraft.world.level.block.Rotation rot)
      Specified by:
      showMultiblock in interface Proxy
    • clearSextantMultiblock

      public void clearSextantMultiblock()
      Specified by:
      clearSextantMultiblock in interface Proxy
    • getClientHit

      @Nullable public @Nullable net.minecraft.world.phys.HitResult getClientHit()
      Specified by:
      getClientHit in interface Proxy
    • getLocale

      @NotNull public @NotNull Locale getLocale()
      Specified by:
      getLocale in interface Proxy