Skip to content
Erwin Redoté edited this page May 2, 2026 · 2 revisions

🪴Plant

Plants are plants-like blocks that can be placed in the world. They can be placed onto slabs.

However, in the official Content-Packs we're no longer using theses blocks, preferring to override vanilla plants models and textures instead.


📂 Folder Structure

.minecraft/
├── content-pack/
 └── blocks/
  └── plants/
   └── your_plant_name.json
 └── assets/
  └── niwer_engine/
   └── textures/
    └── block/
     └── your_texture.png


🧾 Example JSON

{
  "texturePath": "your_texture",
  "modelParent": "tinted_cross",
  "damages": 0.5,
  "slowerWhenWalkThrough": false,
  "isDoublePlant": true,
  "isAquaPlant": true,
  "sourceType": "NEUTRAL",
}

⚙️ Available Parameters

  • texturePath : String — Defines the textures used by the block. It's the texture path in the format modid:path. You don't have to specify the entire path because plants textures are in the assets/modid/textures/block/ folder by default.

  • modelParent : String — Defines the parent JSON model of the block.

  • damages : Float — The amount of damage dealt by the block when used as a weapon.

  • slowerWhenWalkThrough : If true, players and entities will move slower when passing through the block (Like cobweb but not that slower).

  • isDoublePlant : If true, the block will be treated as a double plant (like tall grass).

  • isAquaPlant : If true, the block will be treated as an aquatic plant (like kelp) and will be placeable underwater.

  • sourceType : Defines how the block affects nearby players. Can be:

    • NEUTRAL — No effect.
    • COOL — Cools the player.
    • HEAT — Heats the player.

🖼️ Textures

With basic blocks you can define different textures for each face of the block.

{
  "texturePath": {
    "default": "your_texture", // Used for all faces if specific faces aren't defined
    "north": "minecraft:stone",
    "south": "minecraft:dirt"
  }
}

Clone this wiki locally