mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-17 19:15:05 +00:00
Moving to Forestry 3.6; updating deprecated methods to new versions.
This commit is contained in:
1 parent
a1a4506a14
commit
03068d7ddb
16 files changed
+631
-479
No files matched your search
@@ -1,10 +1,12 @@
|
||||
package magicbees.tileentity;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
|
||||
import forestry.api.apiculture.IBee;
|
||||
import forestry.api.apiculture.IBeeGenome;
|
||||
import forestry.api.apiculture.IBeeHousing;
|
||||
@@ -146,12 +148,6 @@ public class EffectJarHousing implements IBeeHousing
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getBiomeId()
|
||||
{
|
||||
return getBiome().biomeID;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BiomeGenBase getBiome() {
|
||||
return this.jarEntity.getWorldObj().getBiomeGenForCoords(getXCoord(), getYCoord());
|
||||
@@ -195,20 +191,20 @@ public class EffectJarHousing implements IBeeHousing
|
||||
return this.jarEntity.getOwner();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setErrorState(int state)
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setErrorState(IErrorState enumErrorCode)
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getErrorOrdinal()
|
||||
{
|
||||
return getErrorState().getID();
|
||||
public Set<IErrorState> getErrorStates() {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean setErrorCondition(boolean condition, IErrorState errorState) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -246,5 +242,4 @@ public class EffectJarHousing implements IBeeHousing
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user