• Forums

Navigation

  • Home
  • Style Guide
  • Getting Started
    • Home
    • Structuring Your Mod
    • Forge Update Checker
    • Debug Profiler
  • Concepts
    • Sides
    • Resources
    • Data
    • Registries
    • Mod Lifecycle
    • Internationalization and Localization
  • Blocks
    • Home
    • BlockStates
    • Interaction
  • Block Entities
    • Home
    • Renderer
  • Items
    • Home
    • Loot Modification
  • Models
    • Intro to Models
    • Model Files
    • BlockStates
      • Intro to BlockState JSON
    • Coloring Textures
    • Item Properties
    • Advanced Models
      • BakedModel
      • Perspective
      • Item Overrides
  • Rendering
    • BlockEntityWithoutLevelRenderer
  • Data Generation
    • Introduction
    • Model Providers
  • Events
    • Basic Usage
  • Networking
    • Home
    • Overview
    • SimpleImpl
    • Entities
  • Data Storage
    • Capabilities
    • Saved Data
  • Utilities
    • Recipes
    • Tags
  • Effects
    • Particles
    • Sounds
  • Conventions
    • Versioning
    • Locations
      • mods.toml
      • Blockstates
      • Localizations
      • Models
      • Textures
      • Recipes
  • Advanced Topics
    • Access Transformers
  • Contributing to Forge
    • Getting Started
    • PR Guidelines
  • Legacy Versions
    • Home
    • Porting to 1.17

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 JSONs within ./assets/<modid>/blockstates/ folder.

Localizations

Localizations are JSONs named after their lowercased language code, such as en_us.

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

Models

Model files are JSONs located within ./assets/<modid>/models/block/ or ./assets/<modid>/models/item/ depending on whether they are for a block or an item, respectively.

Textures

Textures are PNGs located within ./assets/<modid>/textures/block/ or ./assets/<modid>/textures/item/ depending on whether they are for a block or an item, respectively.

Recipes

Recipes are JSONs located within ./data/<modid>/recipes/.

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