public void addTechniqueDef(TechniqueDef technique) {
        List<TechniqueDef> list = techniques.get(technique.getName());
        if (list == null) {
            list = new ArrayList<>();
            techniques.put(technique.getName(), list);
        }
        list.add(technique);
    }
Adds a new technique definition to this material definition.

@param technique The technique definition to add.
jme3-core/src/main/java/com/jme3/material/MaterialDef.java