NaturesAura/src/main/java/de/ellpeck/naturesaura/blocks/BlockPotionGenerator.java

21 lines
859 B
Java
Raw Normal View History

package de.ellpeck.naturesaura.blocks;
2021-12-04 15:40:09 +01:00
import de.ellpeck.naturesaura.blocks.tiles.BlockEntityPotionGenerator;
2020-01-29 01:34:58 +01:00
import de.ellpeck.naturesaura.data.BlockStateGenerator;
import de.ellpeck.naturesaura.reg.ICustomBlockState;
2020-01-29 01:34:58 +01:00
public class BlockPotionGenerator extends BlockContainerImpl implements ICustomBlockState {
2021-12-15 16:24:53 +01:00
public BlockPotionGenerator() {
2023-07-08 12:32:27 +02:00
super("potion_generator", BlockEntityPotionGenerator.class, Properties.of().strength(5F));
}
2020-01-29 01:34:58 +01:00
@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")));
}
}