format code

This commit is contained in:
Tnze
2024-04-27 22:10:12 +08:00
parent 79c8b35389
commit 9b9f8a8642
3 changed files with 12 additions and 8 deletions

View File

@ -22,8 +22,11 @@ type registry struct {
} }
// This file is generated with following command // This file is generated with following command
//
// java -DbundlerMainClass="net.minecraft.data.Main" -jar server.jar --all // java -DbundlerMainClass="net.minecraft.data.Main" -jar server.jar --all
//
// And you can found it at the generated\reports\ folder. // And you can found it at the generated\reports\ folder.
//
//go:embed registries.json //go:embed registries.json
var registersJson []byte var registersJson []byte

View File

@ -89,6 +89,7 @@ func (SculkShriekerEntity) ID() string { return "minecraft:sculk_shrieke
func (ChiseledBookshelfEntity) ID() string { return "minecraft:chiseled_bookshelf" } func (ChiseledBookshelfEntity) ID() string { return "minecraft:chiseled_bookshelf" }
func (BrushableBlockEntity) ID() string { return "minecraft:brushable_block" } func (BrushableBlockEntity) ID() string { return "minecraft:brushable_block" }
func (DecoratedPotEntity) ID() string { return "minecraft:decorated_pot" } func (DecoratedPotEntity) ID() string { return "minecraft:decorated_pot" }
// func (CrafterEntity) ID() string { return "minecraft:crafter" } // func (CrafterEntity) ID() string { return "minecraft:crafter" }
// func (TrialSpawnerEntity) ID() string { return "minecraft:trial_spawner" } // func (TrialSpawnerEntity) ID() string { return "minecraft:trial_spawner" }