1.21.60 support

This commit is contained in:
AkmalFairuz
2025-02-13 10:42:17 +07:00
parent 1eea0360a5
commit f424b90afd
28 changed files with 10000 additions and 96 deletions

25
legacyver/v776.go Normal file
View File

@@ -0,0 +1,25 @@
package legacyver
import (
_ "embed"
"github.com/akmalfairuz/legacy-version/mapping"
)
const (
// ItemVersion776 ...
ItemVersion776 = 241
// BlockVersion776 ...
BlockVersion776 int32 = (1 << 24) | (21 << 16) | (60 << 8)
)
var (
//go:embed data/item_runtime_ids_776.nbt
itemRuntimeIDData776 []byte
//go:embed data/required_item_list_776.json
requiredItemList776 []byte
//go:embed data/block_states_776.nbt
blockStateData776 []byte
itemMappingLatest = mapping.NewItemMapping(itemRuntimeIDData776, requiredItemList776, ItemVersion776, false)
blockMappingLatest = mapping.NewBlockMapping(blockStateData776)
)