Enum Class MaterialCategoryCondition.MaterialCategory

java.lang.Object
java.lang.Enum<MaterialCategoryCondition.MaterialCategory>
me.deecaad.core.mechanics.conditions.MaterialCategoryCondition.MaterialCategory
All Implemented Interfaces:
Serializable, Comparable<MaterialCategoryCondition.MaterialCategory>, Constable
Enclosing class:
MaterialCategoryCondition

public static enum MaterialCategoryCondition.MaterialCategory extends Enum<MaterialCategoryCondition.MaterialCategory>
This is used to determine what "kind" of block you are in. Sometimes, we want sounds to have an echo, but only when the player is in an enclosed space. Instead of running calculations every time we play the sound, we simply check if we are in cave_air (Vanilla generates caves using cave_air). This is also good for adventure maps, who can replace normal air with cave_air.