mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-05 04:49:10 +01:00
21 lines
538 B
Java
21 lines
538 B
Java
package de.ellpeck.naturesaura.blocks;
|
|
|
|
import de.ellpeck.naturesaura.reg.IModItem;
|
|
import de.ellpeck.naturesaura.reg.ModRegistry;
|
|
import net.minecraft.world.level.block.Block;
|
|
|
|
public class BlockImpl extends Block implements IModItem {
|
|
|
|
private final String baseName;
|
|
|
|
public BlockImpl(String baseName, Block.Properties properties) {
|
|
super(properties);
|
|
this.baseName = baseName;
|
|
ModRegistry.ALL_ITEMS.add(this);
|
|
}
|
|
|
|
@Override
|
|
public String getBaseName() {
|
|
return this.baseName;
|
|
}
|
|
}
|