mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 22:44:44 +00:00
Remove pickDefaultState hack from 1.9 since it's unneeded now
This commit is contained in:
1 parent
73b440732a
commit
2b2f48f085
47 files changed
+54
-248
No files matched your search
@@ -50,6 +50,7 @@ public class BlockAltGrass extends BlockMod implements ILexiconable {
|
||||
setHardness(0.6F);
|
||||
setSoundType(SoundType.PLANT);
|
||||
setTickRandomly(true);
|
||||
setDefaultState(blockState.getBaseState().withProperty(BotaniaStateProps.ALTGRASS_VARIANT, AltGrassVariant.DRY));
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@@ -58,11 +59,6 @@ public class BlockAltGrass extends BlockMod implements ILexiconable {
|
||||
return new BlockStateContainer(this, BotaniaStateProps.ALTGRASS_VARIANT);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected IBlockState pickDefaultState() {
|
||||
return blockState.getBaseState().withProperty(BotaniaStateProps.ALTGRASS_VARIANT, AltGrassVariant.DRY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isToolEffective(String type, @Nonnull IBlockState state) {
|
||||
return type.equals("shovel");
|
||||
|
||||
Reference in new issue
Block a user