mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-24 05:54:49 +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
@@ -66,6 +66,9 @@ public class BlockPool extends BlockMod implements IWandHUD, IWandable, ILexicon
|
||||
setResistance(10.0F);
|
||||
setSoundType(SoundType.STONE);
|
||||
BotaniaAPI.blacklistBlockFromMagnet(this, Short.MAX_VALUE);
|
||||
setDefaultState(blockState.getBaseState()
|
||||
.withProperty(BotaniaStateProps.POOL_VARIANT, PoolVariant.DEFAULT)
|
||||
.withProperty(BotaniaStateProps.COLOR, EnumDyeColor.WHITE));
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@@ -74,13 +77,6 @@ public class BlockPool extends BlockMod implements IWandHUD, IWandable, ILexicon
|
||||
return new BlockStateContainer(this, BotaniaStateProps.POOL_VARIANT, BotaniaStateProps.COLOR);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected IBlockState pickDefaultState() {
|
||||
return blockState.getBaseState()
|
||||
.withProperty(BotaniaStateProps.POOL_VARIANT, PoolVariant.DEFAULT)
|
||||
.withProperty(BotaniaStateProps.COLOR, EnumDyeColor.WHITE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMetaFromState(IBlockState state) {
|
||||
return state.getValue(BotaniaStateProps.POOL_VARIANT).ordinal();
|
||||
|
||||
Reference in new issue
Block a user