mirror of
https://github.com/GeyserMC/Rainbow.git
synced 2025-12-19 14:59:16 +00:00
README
This commit is contained in:
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2025 eclipseisoffline
|
Copyright (c) 2025 GeyserMC
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
11
README.md
Normal file
11
README.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# geyser-mappings-generator
|
||||||
|
|
||||||
|
This is a Minecraft mod for the Fabric modloader to generate Geyser mappings (and potentially in the future, full bedrock packs)
|
||||||
|
for use with the custom item API (v2).
|
||||||
|
|
||||||
|
Commands:
|
||||||
|
|
||||||
|
- `/packgenerator create <name>` - starts a new pack with the given name. The files will be exported in `.minecraft/geyser/<name>` when finished. Anything in this directory can be overwritten!
|
||||||
|
- `/packgenerator map` - creates Geyser mappings for the item stack you are currently holding. The stack must have a custom model, and a pack must have been created.
|
||||||
|
- `/packgenerator mapinventory` - creates Geyser mappings for every applicable item in your inventory. A pack must have been created.
|
||||||
|
- `/packgenerator finish` - finishes the pack, and writes Geyser mappings to disk.
|
||||||
@@ -16,7 +16,7 @@ public class GeyserMappingsGenerator implements ClientModInitializer {
|
|||||||
@Override
|
@Override
|
||||||
public void onInitializeClient() {
|
public void onInitializeClient() {
|
||||||
ClientCommandRegistrationCallback.EVENT.register((dispatcher, buildContext) -> {
|
ClientCommandRegistrationCallback.EVENT.register((dispatcher, buildContext) -> {
|
||||||
dispatcher.register(ClientCommandManager.literal("geyser")
|
dispatcher.register(ClientCommandManager.literal("packgenerator")
|
||||||
.then(ClientCommandManager.literal("create")
|
.then(ClientCommandManager.literal("create")
|
||||||
.then(ClientCommandManager.argument("name", StringArgumentType.word())
|
.then(ClientCommandManager.argument("name", StringArgumentType.word())
|
||||||
.executes(context -> {
|
.executes(context -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user