Skip to content

BlockConfig #5

@Dockter

Description

@Dockter

public interface BlockConfig {
String STATE = "state";
String DEFAULT_STATE_NAME = "normal";

String MAP_COLOR = "map_color";
String MATERIAL = "material";

String EFFECTIVE_TOOLS = "effective_tools";

String ITEM_GROUP = "item_group";
String RENDER_LAYER = "render_layer";

interface State {
    String PARENT = "parent";

    /**
     * @see AABBConfig
     */
    String AABB = "aabb";
    /**
     * @see ActionConfig
     */
    String ACTION = "action";
    String BLOCK_FACE_SHAPE = "block_face_shape";
    String HARDNESS = "hardness"; //Stone == 1.5, Coal == 3.0
    String OPAQUE = "opaque" :  //true/false  (controls neighbor face render)
    String FLAMMABILITY = "flammability";
    String FIRE_SPREAD_SPEED = "fire_spread_speed";
    /**
     * @see Light
     */
    String LIGHT = "light";
    String RESISTANCE = "resistance"; 
    /**
     * @see BlockSoundGroupConfig
     */
    String SOUND = "sound";

    interface Light {
        String EMISSION = "emission"; //Light value the block emits (used in lamps)
        String OPACITY = "opacity"; //skylight depletion when calculating light per face
    }
}

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions