Interface Proxy

All Known Implementing Classes:
ClientProxy

public interface Proxy
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Proxy
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    default 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)
    Same as world.addParticle(data, true, ...), but culls particles below 32 block distances.
    default void
     
    default @Nullable net.minecraft.world.phys.HitResult
     
    default @Nullable net.minecraft.world.entity.player.Player
     
    default int
     
    default @NotNull Locale
     
    default void
    lightningFX(net.minecraft.world.level.Level level, net.minecraft.world.phys.Vec3 vectorStart, net.minecraft.world.phys.Vec3 vectorEnd, float ticksPerMeter, int colorOuter, int colorInner)
     
    default 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)
     
    default void
     
    default void
     
    default 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)
     
  • Field Details

    • INSTANCE

      static final Proxy INSTANCE
  • Method Details

    • runOnClient

      default void runOnClient(Supplier<Runnable> s)
    • getClientPlayer

      @Nullable default @Nullable net.minecraft.world.entity.player.Player getClientPlayer()
    • lightningFX

      default void lightningFX(net.minecraft.world.level.Level level, net.minecraft.world.phys.Vec3 vectorStart, net.minecraft.world.phys.Vec3 vectorEnd, float ticksPerMeter, int colorOuter, int colorInner)
    • lightningFX

      default 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)
    • addBoss

      default void addBoss(GaiaGuardianEntity boss)
    • removeBoss

      default void removeBoss(GaiaGuardianEntity boss)
    • getClientRenderDistance

      default int getClientRenderDistance()
    • addParticleForceNear

      default 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)
      Same as world.addParticle(data, true, ...), but culls particles below 32 block distances.
    • showMultiblock

      default 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)
    • clearSextantMultiblock

      default void clearSextantMultiblock()
    • getClientHit

      @Nullable default @Nullable net.minecraft.world.phys.HitResult getClientHit()
    • getLocale

      @NotNull default @NotNull Locale getLocale()