NaturesAura/src/main/java/de/ellpeck/naturesaura/blocks/BlockImpl.java
2020-01-22 01:32:26 +01:00

22 lines
582 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.Block;
public class BlockImpl extends Block implements IModItem, IModelProvider {
private final String baseName;
public BlockImpl(String baseName, Block.Properties properties) {
super(properties);
this.baseName = baseName;
ModRegistry.add(this);
}
@Override
public String getBaseName() {
return this.baseName;
}
}