2019-11-04 19:08:49 +01:00
|
|
|
package de.ellpeck.naturesaura.blocks;
|
|
|
|
|
|
|
|
import de.ellpeck.naturesaura.reg.IModItem;
|
|
|
|
import de.ellpeck.naturesaura.reg.IModelProvider;
|
2020-01-22 01:32:26 +01:00
|
|
|
import de.ellpeck.naturesaura.reg.ModRegistry;
|
2019-11-04 19:08:49 +01:00
|
|
|
import net.minecraft.block.SlabBlock;
|
|
|
|
|
|
|
|
public class Slab extends SlabBlock implements IModItem, IModelProvider {
|
|
|
|
|
|
|
|
private final String baseName;
|
|
|
|
|
|
|
|
public Slab(String baseName, Properties properties) {
|
|
|
|
super(properties);
|
|
|
|
this.baseName = baseName;
|
2020-01-22 01:32:26 +01:00
|
|
|
ModRegistry.add(this);
|
2019-11-04 19:08:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getBaseName() {
|
|
|
|
return this.baseName;
|
|
|
|
}
|
|
|
|
}
|