Search in sources :

Example 1 with SpongeCoalType

use of org.spongepowered.common.item.SpongeCoalType in project SpongeCommon by SpongePowered.

the class CoalTypeRegistryModule method registerDefaults.

@Override
public void registerDefaults() {
    this.coaltypeMappings.put("coal", new SpongeCoalType(0, "COAL", new SpongeTranslation("item.coal.name")));
    this.coaltypeMappings.put("charcoal", new SpongeCoalType(1, "CHARCOAL", new SpongeTranslation("item.charcoal.name")));
}
Also used : SpongeTranslation(org.spongepowered.common.text.translation.SpongeTranslation) SpongeCoalType(org.spongepowered.common.item.SpongeCoalType)

Aggregations

SpongeCoalType (org.spongepowered.common.item.SpongeCoalType)1 SpongeTranslation (org.spongepowered.common.text.translation.SpongeTranslation)1