mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-17 17:53:11 +01:00
20 lines
859 B
Java
20 lines
859 B
Java
package de.ellpeck.naturesaura.blocks;
|
|
|
|
import de.ellpeck.naturesaura.blocks.tiles.BlockEntityPotionGenerator;
|
|
import de.ellpeck.naturesaura.data.BlockStateGenerator;
|
|
import de.ellpeck.naturesaura.reg.ICustomBlockState;
|
|
|
|
public class BlockPotionGenerator extends BlockContainerImpl implements ICustomBlockState {
|
|
|
|
public BlockPotionGenerator() {
|
|
super("potion_generator", BlockEntityPotionGenerator.class, Properties.of().strength(5F));
|
|
}
|
|
|
|
@Override
|
|
public void generateCustomBlockState(BlockStateGenerator generator) {
|
|
generator.simpleBlock(this, generator.models().cubeBottomTop(this.getBaseName(),
|
|
generator.modLoc("block/" + this.getBaseName()),
|
|
generator.modLoc("block/" + this.getBaseName() + "_bottom"),
|
|
generator.modLoc("block/" + this.getBaseName() + "_top")));
|
|
}
|
|
}
|