Custom Gun Continued

A TaCZ derivative, keeping custom guns continued indefinitely
Back to Files

customgun-26.11.36-neoforge-26.1.x.jar

File namecustomgun-26.11.36-neoforge-26.1.x.jar
Uploader
XiaoColorfulXiaoColorful
Uploaded
Nov 17, 2026
Downloads
5
Size
5.0 MB
Mod Loaders
NeoForge
File ID
9670217
Type
R
Release
Supported game versions
  • 26.1.1
  • 26.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:custom-gun-continued-1653554:9670217"

Learn more about Curse Maven

What's new

Introduced static baking and dirty subtree optimization:

  • Static display and first-person rendering now use baked meshes; only the part changed by animation is regenerated
  • Test gun rendering frame time reduced by approximately 74.5%, with rendering performance improved by about 3.92x.
  • Add debug key to record render tests, generating customgun-render-profile.txt in the game directory.
  • Add debug command /customgun debug enableStaticBake [bool].
  • Add debug command /customgun debug enableReloadAnimationDebugTest [bool].

For Artist:

  • Performance primarily depends on how many cubes move with an animated group: moving parts are regenerated every frame, so fewer is cheaper
  • Whole-gun animations must be applied to the root node root: the state of the root node is handled specially and will not cause the entire gun to re-render.
  • Reuse the same group across animations where possible: Every group you animate splits off another part that is drawn separately (it never merges back)

1.21.4+:

  • Fixed built-in entity interaction filter tags.

1.21.10+:

  • Fixed built-in projectile pass through block tags.

For Developers:

  • Fixed Chinese character encoding issues during compilation on Windows.

This mod has no related projects