superyuuki / yuukomponent

component framework for block game
2 stars 0 forks source link

add slots ;) #15

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

add slots ;)

https://github.com/superyuuki/yuukomponent/blob/03d5824af7767838a391689ba46fbe4f5611e7dc/yuukomponent-dazzleconf-loader/src/main/java/com/superyuuki/yuukomponent/dazzleconf/loader/ConfigurationSection.java#L16


package com.superyuuki.yuukomponent.dazzleconf.loader;

import com.superyuuki.yuukomponent.api.config.behavior.DataSection;
import space.arim.dazzleconf.annote.ConfComments;
import space.arim.dazzleconf.annote.ConfKey;
import space.arim.dazzleconf.annote.SubSection;

import java.util.List;
import java.util.Map;

/**
 * Config representation of a component
 */
public interface ConfigurationSection {

    //TODO add slots ;)

    @ConfKey("behaviors")
    @ConfComments("The behaviors your component definition will use. Make sure all value requirements are met!")
    List<String> behaviors();

    @ConfKey("tags")
    @ConfComments("The tags to use")
    List<String> tags();

    @ConfKey("values")
    @ConfComments("The values your application will use")
    Map<String, Object> values();

}

31150c6975fcba550f4aabec176cc34d55d8391c

zoeself commented 2 years ago

@github-actions[bot] thank you for reporting this. I'll assign someone to take care of it soon.