• Forums

Navigation

  • Home
  • Style Guide
  • Getting Started
    • Home
    • Structuring Your Mod
    • Forge Update Checker
    • Dependency Management
    • Debug Profiler
  • Concepts
    • Sides
    • Resources
    • Registries
    • The Fingerprint Violation Event
    • Internationalization and localization
  • Blocks
    • Home
    • Intro to Blockstates
    • Interaction
  • Animation API
    • Intro to the Animation API
    • Armatures
    • Animation State Machines
    • Using the API
  • Tile Entities
    • Home
    • Renderer
  • Items
    • Home
    • Loot Tables
  • Models
    • Intro to Models
    • Model Files
    • Blockstates
      • Intro to Blockstate JSONs
      • Forge Blockstate JSON
    • Connecting Blocks and Items to Models
    • Coloring Textures
    • Item Property Overrides
    • Advanced Models
      • Intro to Advanced Models
      • IModel
      • IModelState and IModelPart
      • IBakedModel
      • Extended Blockstates
      • Perspective
      • ItemOverrideList
      • ICustomModelLoader
  • Rendering
    • TileEntityItemStackRenderer
  • Events
    • Basic Usage
  • Networking
    • Home
    • Overview
    • SimpleImpl
    • Entities
  • Data Storage
    • Capabilities
    • World Saved Data
    • Extended Entity Properties
    • Config Annotations
  • Utilities
    • Recipes
    • Tags
    • PermissionAPI
  • Effects
    • Sounds
  • Conventions
    • Versioning
    • Locations
      • mods.toml
      • Blockstates
      • Localizations
      • Models
      • Textures
      • Recipes
    • Loading Stages
  • Contributing to Forge
    • Getting Started
    • PR Guidelines

Locations

Minecraft expects certain parts of your project to be in certain locations, such as textures and JSONs.

All locations and items covered in this page are relative to your ./src/main/resources/ folder.

mods.toml

The mods.toml file is in the ./META-INF/ directory.

Blockstates

Blockstate definition files are in the JSON format and are in the ./assets/<modid>/blockstates/ folder.

Localizations

Localizations are plain-text files with the file extension .json and the name being their language code in lowercase such as en_us.

They are located in the ./assets/<modid>/lang/ folder.

Models

Model files are in JSON format and are located in ./assets/<modid>/models/block/ or ./assets/<modid>/models/item/ depending on whether they are for a block or an item, respectively.

Textures

Textures are in the PNG format and are located in ./assets/<modid>/textures/blocks/ or ./assets/<modid>/textures/items/ depending on whether they are for a block or an item, respectively.

Recipes

Recipes are in JSON format and are located in ./data/<modid>/recipes/.

Built with MkDocs using a custom theme. Hosted by Read the Docs.
Enable Dark Theme