mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 19:59:36 +00:00
Yeet all the lexicon and multiblock code (this temporarily kills the sextant, which will be reimplemented on top of the patchouli multiblocks
This commit is contained in:
1 parent
8bdf758bab
commit
d00349cbc7
223 files changed
+193
-10164
No files matched your search
@@ -26,16 +26,13 @@ import net.minecraft.world.IBlockReader;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
import vazkii.botania.api.lexicon.ILexiconable;
|
||||
import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
import vazkii.botania.client.fx.SparkleParticleData;
|
||||
import vazkii.botania.common.core.handler.ConfigHandler;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.Random;
|
||||
|
||||
public class BlockModFlower extends FlowerBlock implements ILexiconable, IGrowable {
|
||||
public class BlockModFlower extends FlowerBlock implements IGrowable {
|
||||
public final DyeColor color;
|
||||
protected BlockModFlower(DyeColor color, Properties builder) {
|
||||
super(effectForFlower(color), 4, builder);
|
||||
@@ -82,11 +79,6 @@ public class BlockModFlower extends FlowerBlock implements ILexiconable, IGrowab
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public LexiconEntry getEntry(World world, BlockPos pos, PlayerEntity player, ItemStack lexicon) {
|
||||
return LexiconData.flowers;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canGrow(@Nonnull IBlockReader world, @Nonnull BlockPos pos, @Nonnull BlockState state, boolean fuckifiknow) {
|
||||
return world.getBlockState(pos.up()).isAir(world, pos);
|
||||
|
||||
Reference in new issue
Block a user