mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 06:52:58 +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
@@ -46,6 +46,7 @@ public class BlockSparkChanger extends BlockMod implements ILexiconable {
|
||||
setHardness(2.0F);
|
||||
setResistance(10.0F);
|
||||
setSoundType(SoundType.STONE);
|
||||
setDefaultState(blockState.getBaseState().withProperty(BotaniaStateProps.POWERED, true));
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@@ -60,11 +61,6 @@ public class BlockSparkChanger extends BlockMod implements ILexiconable {
|
||||
return new BlockStateContainer(this, BotaniaStateProps.POWERED);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected IBlockState pickDefaultState() {
|
||||
return blockState.getBaseState().withProperty(BotaniaStateProps.POWERED, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMetaFromState(IBlockState state) {
|
||||
return state.getValue(BotaniaStateProps.POWERED) ? 8 : 0;
|
||||
|
||||
Reference in new issue
Block a user