Remove pickDefaultState hack from 1.9 since it's unneeded now

This commit is contained in:
Vincent Lee committed 2017-07-22 17:14:46 -05:00
1 parent 73b440732a
commit 2b2f48f085
47 files changed
+54 -248

No files matched your search

@@ -50,6 +50,7 @@ public class BlockPylon extends BlockMod implements ILexiconable, IInfusionStabi
setHardness(5.5F);
setSoundType(SoundType.METAL);
setLightLevel(0.5F);
setDefaultState(blockState.getBaseState().withProperty(BotaniaStateProps.PYLON_VARIANT, PylonVariant.MANA));
}
@Nonnull
@@ -64,11 +65,6 @@ public class BlockPylon extends BlockMod implements ILexiconable, IInfusionStabi
return new BlockStateContainer(this, BotaniaStateProps.PYLON_VARIANT);
}
@Override
protected IBlockState pickDefaultState() {
return blockState.getBaseState().withProperty(BotaniaStateProps.PYLON_VARIANT, PylonVariant.MANA);
}
@Override
public int getMetaFromState(IBlockState state) {
return state.getValue(BotaniaStateProps.PYLON_VARIANT).ordinal();