mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-24 23:49:23 +01:00
22 lines
574 B
Java
22 lines
574 B
Java
package de.ellpeck.naturesaura.blocks;
|
|
|
|
import de.ellpeck.naturesaura.reg.IModItem;
|
|
import de.ellpeck.naturesaura.reg.IModelProvider;
|
|
import de.ellpeck.naturesaura.reg.ModRegistry;
|
|
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;
|
|
ModRegistry.add(this);
|
|
}
|
|
|
|
@Override
|
|
public String getBaseName() {
|
|
return this.baseName;
|
|
}
|
|
}
|