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

@@ -54,6 +54,7 @@ public class BlockAvatar extends BlockMod implements ILexiconable {
super(Material.WOOD, LibBlockNames.AVATAR);
setHardness(2.0F);
setSoundType(SoundType.WOOD);
setDefaultState(blockState.getBaseState().withProperty(BotaniaStateProps.CARDINALS, EnumFacing.NORTH));
}
@Nonnull
@@ -70,11 +71,6 @@ public class BlockAvatar extends BlockMod implements ILexiconable {
return new BlockStateContainer(this, BotaniaStateProps.CARDINALS);
}
@Override
protected IBlockState pickDefaultState() {
return blockState.getBaseState().withProperty(BotaniaStateProps.CARDINALS, EnumFacing.NORTH);
}
@Override
public int getMetaFromState(IBlockState state) {
return state.getValue(BotaniaStateProps.CARDINALS).getIndex();