#Leaves
1 messages · Page 1 of 1 (latest)
To achieve this, you need to use custom block states.
First, define a boolean block state (e.g., custom:opaque_leaves: [true, false]). Next, create permutations within your block definition that check for this state. Inside the permutation, you can override the material_instances to assign a specific custom texture or render method for that state.
Finally, you can use a simple script to detect specific conditions and toggle the state automatically.