Better Grass

_images/icon.webp

A grass block with grass on the side.

File location

/assets/minecraft/optifine/bettergrass.properties

Better Grass shows the side grass texture on grass blocks that are near other grass blocks.

If a bottom grass block is cardinally adjacent (down one block, and 1 block forward north, east, south, or west), to a top block, the top-face grass block texture will replace the side texture of the top block.

_images/better_grass.webp

A showcase of various grass block and path block combinations.

_images/settings.webp

Button and tooltip for the option, found in Video Settings ‣ Quality.

Properties

grass

Values: Boolean
Optional
Default: true

Enables Better Grass for Grass Blocks.

dirt_path

Values: Boolean
Optional
Default: true

Enables Better Grass for grass path blocks.

mycelium

Values: Boolean
Optional
Default: true

Enables Better Grass for Mycelium.

podzol

Values: Boolean
Optional
Default: true

Enables Better Grass for Podzol.

crimson_nylium

Values: Boolean
Optional
Default: true

Enables Better Grass for Crimson Nylium.

New in version H5.

warped_nylium

Values: Boolean
Optional
Default: true

Enables Better Grass for Warped Nylium.

New in version H5.

Not to be confused with

Better Snow

grass.snow

Values: Boolean
Optional
Default: true

Enables Better Grass for Grass Blocks that have a snow layer or snow block on top of them.

mycelium.snow

Values: Boolean
Optional
Default: true

Enables Better Grass for Mycelium that has a snow layer or snow block on top of them.

podzol.snow

Values: Boolean
Optional
Default: true

Enables Better Grass for Podzol that have a snow layer or snow block on top of them.

grass.multilayer

Values: Boolean
Optional
Default: false

Allows a transparent grass texture to be used as an overlay for the grass block's side. If enabled, a transparent grass texture can overlay it.

If enabled:

  • Layer 1: grass_side

  • Layer 2: grass (colored by biome)

texture.grass

Values: String, path to texture
Optional
Default: block/grass_block_top

What texture to use for the top of a grass block which has Better Grass applied to it.

Note

This texture will be tinted (colored) by biome.

texture.grass_side

Values: String, path to texture
Optional
Default: block/grass_block_side

What texture to use for the side of a grass block which has Better Grass applied to it.

texture.dirt_path

Values: String, path to texture
Optional
Default: block/dirt_path_top

What texture to use for the top of a dirt path block which has Better Grass applied to it.

texture.dirt_path_side

Values: String, path to texture
Optional
Default: block/dirt_path_side

What texture to use for the side of a dirt path block which has Better Grass applied to it.

texture.mycelium

Values: String, path to texture
Optional
Default: block/mycelium_top

What texture to use for the top of a Mycelium block which has Better Grass applied to it.

texture.podzol

Values: String, path to texture
Optional
Default: block/podzol_top

What texture to use for the top of a Podzol block which has Better Grass applied to it.

texture.crimson_nylium

Values: String, path to texture
Optional
Default: block/crimson_nylium

What texture to use for the top of a Crimson Nylium block which has Better Grass applied to it.

New in version H5.

texture.warped_nylium

Values: String, path to texture
Optional
Default: block/warped_nylium

What texture to use for the top of a Warped Nylium block which has Better Grass applied to it.

New in version H5.

texture.snow

Values: String, path to texture
Optional
Default: block/snow

What texture to use for the top of a Snow block which has Better Grass applied to it.

Examples

Only Grass

mycelium=false
podzol=false

Not Grass

grass=false
dirt_path=false
crimson_nylium=false
warped_nylium=false

Texture for grass sides

texture.grass_side=block/redstone_block
texture.grass=block/emerald_block

Disable snowy blocks

grass.snow=false
mycelium.snow=false
podzol.snow=false

JSON schema

Note

Although this page is .properties based, it can be mapped to JSON.

{
	"$schema": "http://json-schema.org/draft/2020-12/schema",
	"$id": "https://gitlab.com/whoatemybutter/optifinedocs/-/blob/master/schemas/better_grass.schema.json",
	"title": "Better Grass",
	"description": "Better Grass shows the side grass texture on grass blocks that are near other grass blocks.",
	"type": "object",
	"properties": {
		"grass": {
			"type": "boolean",
			"description": "Enables Better Grass for Grass Blocks.",
			"default": true
		},
		"dirt_path": {
			"type": "boolean",
			"description": "Enables Better Grass for grass path blocks.",
			"default": true
		},
		"mycelium": {
			"type": "boolean",
			"description": "Enables Better Grass for Mycelium.",
			"default": true
		},
		"podzol": {
			"type": "boolean",
			"description": "Enables Better Grass for Podzol.",
			"default": true
		},
		"crimson_nylium": {
			"type": "boolean",
			"description": "Enables Better Grass for Crimson Nylium.",
			"default": true
		},
		"warped_nylium": {
			"type": "boolean",
			"description": "Enables Better Grass for Warped Nylium.",
			"default": true
		},
		"grass.snow": {
			"type": "boolean",
			"description": "Enables Better Grass for Grass Blocks that have a snow layer or snow block on top of them.",
			"default": true
		},
		"mycelium.snow": {
			"type": "boolean",
			"description": "Enables Better Grass for Mycelium that has a snow layer or snow block on top of them.",
			"default": true
		},
		"podzol.snow": {
			"type": "boolean",
			"description": "Enables Better Grass for Podzol that has a snow layer or snow block on top of them.",
			"default": true
		},
		"grass.multilayer": {
			"type": "boolean",
			"description": "Allows a transparent grass texture to be used as an overlay for the grass block's side.",
			"default": false
		},
		"texture.grass": {
			"default": "block/grass_block_top",
			"description": "What texture to use for the top of a grass block which has Better Grass applied to it.",
			"$ref": "common.schema.json#/$defs/resource"
		},
		"texture.grass_side": {
			"default": "block/grass_block_side",
			"description": "What texture to use for the side of a grass block which has Better Grass applied to it.",
			"$ref": "common.schema.json#/$defs/resource"
		},
		"texture.dirt_path": {
			"description": "What texture to use for the top of a dirt path block which has Better Grass applied to it.",
			"default": "block/dirt_path_top",
			"$ref": "common.schema.json#/$defs/resource"
		},
		"texture.dirt_path_side": {
			"description": "What texture to use for the side of a dirt path block which has Better Grass applied to it.",
			"default": "block/dirt_path_side",
			"$ref": "common.schema.json#/$defs/resource"
		},
		"texture.mycelium": {
			"description": "What texture to use for the top of a Mycelium block which has Better Grass applied to it.",
			"default": "block/mycelium_top",
			"$ref": "common.schema.json#/$defs/resource"
		},
		"texture.podzol": {
			"default": "block/podzol_top",
			"description": "What texture to use for the top of a Podzol block which has Better Grass applied to it.",
			"$ref": "common.schema.json#/$defs/resource"
		},
		"texture.crimson_nylium": {
			"description": "What texture to use for the top of a Crimson Nylium block which has Better Grass applied to it.",
			"default": "block/crimson_nylium",
			"$ref": "common.schema.json#/$defs/resource"
		},
		"texture.warped_nylium": {
			"default": "block/warped_nylium",
			"description": "What texture to use for the top of a Warped Nylium block which has Better Grass applied to it.",
			"$ref": "common.schema.json#/$defs/resource"
		},
		"texture.snow": {
			"description": "What texture to use for the top of a Snow block which has Better Grass applied to it.",
			"default": "block/snow",
			"$ref": "common.schema.json#/$defs/resource"
		}
	},
	"additionalProperties": false
}

Assumes latest OptiFine version.
Updated to commit 8ed2130d.