Better Grass

_images/grass.webp

Grass on grass.

File location

/assets/minecraft/optifine/bettergrass.properties

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

When a Grass Block at the bottom is directly adjacent (north, east, south, or west) to a Grass Block above, the side texture of the top block will be replaced with the top-face Grass Block texture.

_images/selection.webp

A showcase of various grasses and dirts.

_images/settings.webp

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

Properties

grass

_images/grass.webp
Values: Boolean
Optional
Default: true

Enables Better Grass for Grass Blocks.

dirt_path

_images/path.webp
Values: Boolean
Optional
Default: true

Enables Better Grass for grass path blocks.

mycelium

_images/mycelium.webp
Values: Boolean
Optional
Default: true

Enables Better Grass for Mycelium.

podzol

_images/podzol.webp
Values: Boolean
Optional
Default: true

Enables Better Grass for Podzol.

crimson_nylium

_images/crimson_nylium.webp
Values: Boolean
Optional
Default: true

Enables Better Grass for Crimson Nylium.

New in version H5.

warped_nylium

_images/warped_nylium.webp
Values: Boolean
Optional
Default: true

Enables Better Grass for Warped Nylium.

New in version H5.

grass.snow

_images/grass_snow.webp
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

_images/mycelium_snow.webp
Values: Boolean
Optional
Default: true

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

podzol.snow

_images/podzol_snow.webp
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: File path
Optional
Default: block/grass_block_top

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

Note

This texture will be tinted (colored) by biome.

texture.grass_side

Values: String: File path
Optional
Default: block/grass_block_side

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

texture.dirt_path

Values: String: File path
Optional
Default: block/dirt_path_top

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

texture.dirt_path_side

Values: String: File path
Optional
Default: block/dirt_path_side

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

texture.mycelium

Values: String: File path
Optional
Default: block/mycelium_top

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

texture.podzol

Values: String: File path
Optional
Default: block/podzol_top

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

texture.crimson_nylium

Values: String: File path
Optional
Default: block/crimson_nylium

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

New in version H5.

texture.warped_nylium

Values: String: File path
Optional
Default: block/warped_nylium

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

New in version H5.

texture.snow

Values: String: File path
Optional
Default: block/snow

What texture to use for the top of a Snow block that 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 the latest OptiFine version.
Updated to commit dc7b4aca.

Last update: 2024 March 13