devkit

package
v0.1.4-beta.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2026 License: ISC Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FOLDER_DATA   = "data"
	FOLDER_ASSETS = "assets"
)

These are constants to make it clear no other values are allowed

Variables

This section is empty.

Functions

func Main

func Main(raw_args []string) error

Types

type Project

type Project struct {
	Meta     *minecraft.PackMcmeta
	BuildDir string
	// contains filtered or unexported fields
}

func New

func New(mcmeta *minecraft.PackMcmeta) *Project

func (*Project) Build

func (project *Project) Build() error

func (*Project) CheckIfCached

func (project *Project) CheckIfCached(value *bool, folder string) internal.Task

func (*Project) DetectPackIcon

func (project *Project) DetectPackIcon() error

func (*Project) GenerateDataPack

func (project *Project) GenerateDataPack() error

func (*Project) GenerateFromTemplates

func (project *Project) GenerateFromTemplates() error

func (*Project) GenerateResourcePack

func (project *Project) GenerateResourcePack() error

func (*Project) LoadTemplates

func (project *Project) LoadTemplates() error

func (*Project) LogHeader

func (project *Project) LogHeader(header string) internal.Task

func (*Project) WeldPacks

func (project *Project) WeldPacks() error

func (*Project) ZipPacks

func (project *Project) ZipPacks() error

Directories

Path Synopsis
Minecraft-related hardcoded values and utility functions
Minecraft-related hardcoded values and utility functions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL