Skip to content

VAC v1.0.1

Choose a tag to compare

@SomeOneDay01 SomeOneDay01 released this 16 Jul 11:30
· 5 commits to main since this release

Changelog — VAC v1.0.1

Fixes

  • AntiXray NPE — fixed race condition in getOres() (now static final + static {} initializer)
  • AntiXray sendOreHides — replaced NMS PacketPlayOutBlockChange with Bukkit sendBlockChange(Material) for 1.20.5+ compatibility
  • LagManager — deprecated sendBlockChange(Location, Material, byte) replaced with reflective bridge (2-param → fallback 3-param)
  • BanAnimation — removed Particle enum constants (1.20.5+) replaced with reflective fallback lookup (CRIT_MAGIC→ENCHANTED_HIT, EXPLOSION_HUGE→EXPLOSION, LAVA→LANDING_LAVA/DRIPPING_LAVA, REDSTONE→DUST)

Multi-Version Compatibility (1.16–1.21)

  • VersionUtil — detect unversioned CraftServer (1.20.5+), complete MOJANG_MAP + MOJANG_ALT for Mojang mappings
  • PacketUtils.initNMS() — search for playerConnection/connection field and sendPacket/send method by both names
  • createPacketPlayOutSetSlot — 1.16-1.17 (3 param) / 1.18+ (4 param, added stateId)
  • createPacketPlayOutOpenSignEditor — 1.16-1.19 (1 param) / 1.20+ (2 param, added isFrontText)
  • createPacketPlayOutExplosion — 1.16-1.20.4 (float,float,float) / 1.20.5+ (Optional, ParticleOptions, SoundEvent)
  • createPacketPlayOutWorldParticles — tries both old and new constructor
  • createPacketPlayOutEntityMetadata — tries DataWatcher, SynchedEntityData, and new (int, List) constructor
  • createPacketPlayOutBlockChangeBlock.getByCombinedId() replaced with Bukkit BlockData → CraftBlockData

Removed

  • Web Dashboard — fully removed (WebDashboard.java, HTML/CSS/JS, config section, all references)

Misc

  • AntiXray TRANSPARENT set: GRASS/TALL_GRASS + SHORT_GRASS (1.20.3+) loaded via reflection
  • Removed unused java.util.concurrent.TimeUnit import