Commit Graph
3477 Commits
Author SHA1 Message Date
bigguy345 375c41daba Merge branch 'dev' into syntax-highlighter-unified 2026-02-18 05:32:25 +02:00
bigguy345 b4c0859759 Merge remote-tracking branch 'origin/syntax-highlighter-unified' into syntax-highlighter-unified 2026-02-18 05:26:29 +02:00
bigguy345 430ff7c3a8 Improve autocomplete for method reference contexts
- trigger completion after :: and detect method-reference receiver chains

- restrict suggestions to methods (plus constructor refs) in method-reference mode

- insert method names without parentheses when completing method references
2026-02-18 05:21:55 +02:00
bigguy345 e2b35d6d54 Method reference and SAM type resolution
- add full parser/type-resolver support for Java method and constructor references

- infer SAM callback types for named JS script methods with conflict reporting

- surface argument-level SAM/type mismatch errors in method validation
2026-02-18 05:21:42 +02:00
Kam 2bcf3b03d5 Refactoring and Bug Fixes 2026-02-17 21:03:54 -05:00
Kam c7956a24a6 Abilities are now Stored by Name not UUID 2026-02-17 20:44:27 -05:00
Vidal 52269705b5 Merge remote-tracking branch 'origin/dev' into dev 2026-02-17 19:38:52 -03:00
Kam dcd9572024 Merge branch 'barriers' into dev 2026-02-17 17:32:48 -05:00
Vidal 071cbc9890 Applied the fix to select gui as well 2026-02-17 18:38:58 -03:00
Vidal 55149ab5d1 Fixed the check that prevented built-in types from showing up in NPC Abilities 2026-02-17 18:31:47 -03:00
Vidal 7ed68b7efe Added dazed animation 2026-02-17 17:05:29 -03:00
Kam c07e9e7006 Create Barrier Abilities + Heavy Refactoring 2026-02-17 14:32:13 -05:00
Vidal a296a533c9 Made registered animations load at once 2026-02-16 20:42:57 -03:00
Vidal dd6a27b915 Fixed wrong names being registered on Animation register and added debug to anim controller 2026-02-16 20:21:32 -03:00
Vidal d826206d31 Prevented anim controller from loading twice 2026-02-16 13:47:31 -03:00
Vidal 6506de70b8 Set Animation Controller to load on server start 2026-02-16 12:40:02 -03:00
Claude 0ebdfafccd Add Energy Barrier and Slicer ability system
Implements four new energy ability types:

- Energy Dome: Spherical barrier centered on caster that blocks incoming
  energy projectiles. Configurable per-projectile-type damage multipliers,
  HP/durability and duration modes. RING telegraph.

- Energy Wall: Placeable flat energy panel with configurable dimensions
  and height offset (can float above ground). Optional launching mode
  fires the wall forward with damage/knockback.

- Energy Shield: Held energy panel that follows the caster and rotates
  with their look direction. Defensive blocking ability.

- Energy Slicer: Thin wide blade projectile (JJK Cleave inspired).
  Extends AbstractEnergyProjectileAbility. Piercing by default.

Architecture:
- EnergyBarrierData: HP, duration, per-type damage multiplier map
- EnergyPanelData: Panel dimensions, height offset, launch properties
- AbstractEnergyBarrierAbility: Shared base for Dome/Wall/Shield
- EntityEnergyDome, EntityEnergyPanel, EntityEnergySlicer entities
- RenderEnergyDome, RenderEnergyPanel, RenderEnergySlicer renderers
  with translucent inner/outer layers (voxel-blocky aesthetic)
- Projectile-barrier collision system in EntityAbilityProjectile

https://claude.ai/code/session_01EV9KpiykvW4rASz7ju5iTG
2026-02-16 08:54:55 +00:00
Kam 2a5dd6dfd6 Merge branch 'dev' into syntax-highlighter-unified 2026-02-16 01:59:25 -05:00
Kam 01e18e0221 Beta 3 2026-02-16 01:49:57 -05:00
Kam f4ad421c2e Player Ability Checking
Enhance ability validation: add method to check if an ability can be resolved without deep copy and prune invalid unlocked abilities during load
2026-02-16 01:40:51 -05:00
Kam cd28f69a0e Enhance ability validation: add method to check if an ability can be resolved without deep copy and prune invalid unlocked abilities during load 2026-02-16 01:39:14 -05:00
Kam 21b1571868 Add flight checker to prevent abilities from affecting flying players 2026-02-16 01:15:52 -05:00
Kam 071d89cc15 Add energy projectile types and events: implement IEnergyOrb, IEnergyBeam, IEnergyDisc, and IEnergyLaser interfaces, along with their respective script handlers and event hooks 2026-02-16 01:03:05 -05:00
Kam 1ed012331b Enhance ability input handling: block movement during ability locks, ensure proper input suppression, and cancel abilities on logout, dimension change, death, and respawn 2026-02-15 23:15:50 -05:00
Kam 121563ba24 Enhance knockback mechanics: add methods for applying and forcefully applying knockback, respecting or ignoring knockback resistance 2026-02-15 23:07:57 -05:00
Kam 248dbf66da Enhance ability animation handling: track ability animation state, clear orphaned animations on login, and ensure proper animation continuation 2026-02-15 22:03:32 -05:00
Kam 3beaf68815 Update GuiNPCAbilities.java 2026-02-15 21:44:36 -05:00
Kam ce24c0a4ff Enhance ability selection and display: add toggleable ability handling, improve ability name color coding, and update ability selection messaging 2026-02-15 19:21:30 -05:00
Kam 45d05b9157 Add trap presets & trigger-reveal visuals
Introduce client-side trap presets and a visual "trigger reveal" for traps, plus related entity/renderer changes.

- AbilityTrap: add TrapPreset enum and applyTrapPresetDefaults; wire a SubGuiTrapPresetSelector hook to apply presets from the GUI; pass visibility into created trap entities.
- EntityAbilityZone: add visible flag, TRIGGER_FLASH_STATUS state, setEntityState usage to notify clients of triggers, handleHealthUpdate to start client-side flash, and adjust construction/serialization accordingly.
- RenderAbilityZone: implement trigger-reveal visuals (revealFade, triggerReveal) that briefly show a burst when traps trigger, skip rendering for invisible traps unless revealing, and tweak flash/timing logic.
- Minor cleanup: remove/condense comment blocks and refactor noisy helpers across AbilityZone/AbilityHazard, plus language entry update and new SubGuiTrapPresetSelector GUI class.

These changes enable preset application for traps and improve client-side feedback when traps trigger.
2026-02-15 19:19:57 -05:00
Kam 2dfdfb19d1 Client-side trade validation and stock update
Perform more complete client-side checks before predicting currency deductions in GuiNPCTrader.handleMouseClick. The method now verifies that the item can be given to the player (canGivePlayerClient), that the slot is enabled, and that stock is available, mirroring server-side checks. When a client-side purchase is accepted, availableStock is decremented if applicable. Added a private canGivePlayerClient(ItemStack) helper to check cursor-stack compatibility and max stack size. These changes prevent the UI from showing incorrect balances for trades the server would reject.
2026-02-15 18:15:56 -05:00
Kam 8c2ef1084a Fix Burst Refire 2026-02-15 17:47:44 -05:00
Kam 0f774a68fc Refactor ability handling: replace damage handler with ability extenders for improved lifecycle management and damage routing 2026-02-14 21:06:12 -05:00
Kam 5a9b9a1feb Merge branch 'dev' into syntax-highlighter-unified 2026-02-14 20:52:24 -05:00
Vidal f03d93d6a8 Oopsie i swapped commits, last commit was changing min values on anchor offset fields 2026-02-14 19:43:34 -03:00
Kam a23b199e7e Refactoring for Code Cleanup and Projectile Abstract Class Handling 2026-02-14 15:21:56 -05:00
Vidal 19fb0ff5b7 Changed how float text fields handle negative values 2026-02-14 17:03:59 -03:00
Kam 2a1a5643d3 Potion Effect System + Manual and Remove Bulk 2026-02-14 04:04:13 -05:00
Kam 85db3df355 feat: implement player ability state management with rotation and position locking 2026-02-14 04:02:01 -05:00
Kam 0b0dcdc58d feat: implement player ability state management with rotation and position locking 2026-02-14 03:50:28 -05:00
Kam ab1f0d7f92 Merge branch 'dev' into syntax-highlighter-unified 2026-02-13 18:43:11 -05:00
Kam 910f3b3744 Add NPC inline edit support and adjust ability launch mechanics 2026-02-13 15:01:28 -05:00
Kam f4d7861a9d fix: prevent special key detection when a screen is open 2026-02-13 14:52:58 -05:00
Kam 185d915928 refactor: simplify NBT reading for ability properties and potion effects 2026-02-13 14:17:17 -05:00
Kam f16c8ae115 Merge branch 'dev' into syntax-highlighter-unified 2026-02-12 21:08:21 -05:00
bigguy345 ac223cbb53 IAction exceptions now report to script console 2026-02-13 04:06:59 +02:00
Kam bc9fd53ae8 Beta 2 2026-02-12 20:35:03 -05:00
Kam 105d274955 Merge branch 'dev' into syntax-highlighter-unified 2026-02-12 20:33:44 -05:00
Kam 0cb5a993c7 Merge remote-tracking branch 'origin/dev' into dev 2026-02-12 20:30:27 -05:00
Kam 2c00ecae9e feat: add built-in ability handling and UI updates for ability management 2026-02-12 20:30:12 -05:00
Kam 356ae65b69 Fix Dialog and Quest Category Bug 2026-02-12 20:28:50 -05:00