add file comment generation and hashing for reproducible output in proto_generator

This commit is contained in:
adman
2026-05-29 01:14:56 +02:00
parent 624e8ad4de
commit efeb5ecda6
6 changed files with 95 additions and 7 deletions
+4 -2
View File
@@ -1,12 +1,14 @@
// Code generated by strom. DO NOT EDIT.
// source: minecraft-data/pc/1.21.11/protocol.json (sha256:5d0fffae79fe3d99919d16f79ed22d4c76d80fcddf92868b93abda1f55867dd8)
// version: (devel) (go1.26.3-X:nodwarf5)
package v1_21_11
import (
"encoding/binary"
"io"
"github.com/admin-else/strom/nbt"
"github.com/admin-else/strom/proto_base"
"github.com/google/uuid"
"io"
)
type ArmorTrimMaterial struct {
+3
View File
@@ -1,3 +1,6 @@
// Code generated by strom. DO NOT EDIT.
// source: minecraft-data/pc/1.21.8/protocol.json (sha256:627f4138d1a6e4a6fff1cde6008c95a72cd580728aafca8ba62ad0ef21c88f61)
// version: (devel) (go1.26.3-X:nodwarf5)
package v1_21_8
import (
+3
View File
@@ -1,3 +1,6 @@
// Code generated by strom. DO NOT EDIT.
// source: minecraft-data/pc/1.21.9/protocol.json (sha256:5c5c5947ac583745cb1ea9a8b2fa654f0356349f37fa0248ba2e44baf4e5c485)
// version: (devel) (go1.26.3-X:nodwarf5)
package v1_21_9
import (