mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +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
@@ -31,6 +31,7 @@ public class BlockRedStringDispenser extends BlockRedString {
|
||||
|
||||
public BlockRedStringDispenser() {
|
||||
super(LibBlockNames.RED_STRING_DISPENSER);
|
||||
setDefaultState(blockState.getBaseState().withProperty(BotaniaStateProps.FACING, EnumFacing.DOWN).withProperty(BotaniaStateProps.POWERED, false));
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
@@ -39,11 +40,6 @@ public class BlockRedStringDispenser extends BlockRedString {
|
||||
return new BlockStateContainer(this, BotaniaStateProps.FACING, BotaniaStateProps.POWERED);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected IBlockState pickDefaultState() {
|
||||
return blockState.getBaseState().withProperty(BotaniaStateProps.FACING, EnumFacing.DOWN).withProperty(BotaniaStateProps.POWERED, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMetaFromState(IBlockState state) {
|
||||
int meta = state.getValue(BotaniaStateProps.FACING).getIndex();
|
||||
|
||||
Reference in new issue
Block a user