Documentation
¶
Index ¶
- func DecodeLevelDat(worldDir string) (map[string]any, int32, error)
- func DumpLevelDat(worldDir string) (string, error)
- func EncodeLevelDat(worldDir string, version int32, root map[string]any) error
- func GetLevelDat(worldDir string) ([]byte, error)
- func GetLevelDatNbtAndVersion(worldDir string) ([]byte, int32, error)
- func ImportMcaddonToDirs(data []byte, resDir string, bpDir string, overwrite bool) string
- func ImportMcaddonToDirs2(data []byte, resDir string, bpDir string, skinDir string, overwrite bool) string
- func ImportMcpackToDirs(data []byte, archiveName string, resDir string, bpDir string, overwrite bool) string
- func ImportMcpackToDirs2(data []byte, archiveName string, resDir string, bpDir string, skinDir string, ...) string
- func ImportMcworldToDir(data []byte, archiveName string, worldsDir string, overwrite bool) string
- func IsMcpackSkinPack(data []byte) bool
- func PutLevelDat(worldDir string, levelDatData []byte) error
- func PutLevelDatNbtAndVersion(worldDir string, levelDatData []byte, version int32) error
- func ReadLevelDatFields(worldDir string) ([]types.LevelDatField, int32, error)
- func ReadLevelDatFieldsAt(worldDir string, path []string) ([]types.LevelDatField, int32, error)
- func ReadLevelDatOrder(worldDir string) ([]string, int32, error)
- func ReadLevelDatOrderAt(worldDir string, path []string) ([]string, int32, error)
- func ReadPackInfoFromDir(dir string) types.PackInfo
- func WriteLevelDatFields(worldDir string, fields []types.LevelDatField, version int32) error
- func WriteLevelDatFieldsAt(worldDir string, path []string, fields []types.LevelDatField, version int32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpLevelDat ¶
func EncodeLevelDat ¶
func GetLevelDat ¶
func ImportMcaddonToDirs ¶
func ImportMcaddonToDirs2 ¶
func ImportMcpackToDirs ¶
func ImportMcpackToDirs2 ¶
func ImportMcworldToDir ¶
func IsMcpackSkinPack ¶ added in v0.0.29
func PutLevelDat ¶
func ReadLevelDatFields ¶
func ReadLevelDatFields(worldDir string) ([]types.LevelDatField, int32, error)
func ReadLevelDatFieldsAt ¶
func ReadLevelDatOrderAt ¶
func ReadPackInfoFromDir ¶
func WriteLevelDatFields ¶
func WriteLevelDatFields(worldDir string, fields []types.LevelDatField, version int32) error
func WriteLevelDatFieldsAt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.