mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Go back to meta for now, should close #183
This commit is contained in:
1 file changed
+7
-4
@@ -449,16 +449,19 @@ public class TileSpreader extends TileSimpleInventory implements IManaCollector,
|
||||
}
|
||||
|
||||
public boolean isRedstone() {
|
||||
return worldObj == null ? staticRedstone : worldObj.getBlockState(getPos()).getValue(BotaniaStateProps.SPREADER_VARIANT) == SpreaderVariant.REDSTONE;
|
||||
updateContainingBlockInfo();
|
||||
return worldObj == null ? staticRedstone : getBlockMetadata() == SpreaderVariant.REDSTONE.ordinal();
|
||||
}
|
||||
|
||||
public boolean isDreamwood() {
|
||||
SpreaderVariant variant = worldObj.getBlockState(getPos()).getValue(BotaniaStateProps.SPREADER_VARIANT);
|
||||
return worldObj == null ? staticDreamwood : variant == SpreaderVariant.ELVEN || variant == SpreaderVariant.GAIA;
|
||||
updateContainingBlockInfo();
|
||||
int variant = getBlockMetadata();
|
||||
return worldObj == null ? staticDreamwood : variant == SpreaderVariant.ELVEN.ordinal() || variant == SpreaderVariant.GAIA.ordinal();
|
||||
}
|
||||
|
||||
public boolean isULTRA_SPREADER() {
|
||||
return worldObj == null ? staticUltra : worldObj.getBlockState(getPos()).getValue(BotaniaStateProps.SPREADER_VARIANT) == SpreaderVariant.GAIA;
|
||||
updateContainingBlockInfo();
|
||||
return worldObj == null ? staticUltra : getBlockMetadata() == SpreaderVariant.GAIA.ordinal();
|
||||
}
|
||||
|
||||
public void checkForReceiver() {
|
||||
|
||||
Reference in new issue
Block a user