use latest Netty and Guava
This commit is contained in:
parent
7f32e87ef4
commit
3af1b1f5b6
463 changed files with 611 additions and 68249 deletions
|
@ -2,8 +2,9 @@ package game.tileentity;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import game.block.BlockFlower;
|
||||
import game.collect.Lists;
|
||||
import game.color.DyeColor;
|
||||
import game.init.Blocks;
|
||||
import game.init.Items;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package game.tileentity;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Predicate;
|
||||
import com.google.common.base.Predicate;
|
||||
|
||||
import game.block.Block;
|
||||
import game.block.BlockChest;
|
||||
|
@ -633,7 +633,7 @@ public class TileEntityHopper extends TileEntityLockable implements IHopper, ITi
|
|||
public static List<EntityItem> func_181556_a(World p_181556_0_, double p_181556_1_, double p_181556_3_, double p_181556_5_)
|
||||
{
|
||||
return p_181556_0_.<EntityItem>getEntitiesWithinAABB(EntityItem.class, new BoundingBox(p_181556_1_ - 0.5D, p_181556_3_ - 0.5D, p_181556_5_ - 0.5D, p_181556_1_ + 0.5D, p_181556_3_ + 0.5D, p_181556_5_ + 0.5D), new Predicate<EntityItem>() {
|
||||
public boolean test(EntityItem entity) {
|
||||
public boolean apply(EntityItem entity) {
|
||||
return entity.isEntityAlive();
|
||||
}
|
||||
});
|
||||
|
@ -669,7 +669,7 @@ public class TileEntityHopper extends TileEntityLockable implements IHopper, ITi
|
|||
if (iinventory == null)
|
||||
{
|
||||
List<Entity> list = worldIn.getEntitiesInAABBexcluding((Entity)null, new BoundingBox(x - 0.5D, y - 0.5D, z - 0.5D, x + 0.5D, y + 0.5D, z + 0.5D), new Predicate<Entity>() {
|
||||
public boolean test(Entity entity) {
|
||||
public boolean apply(Entity entity) {
|
||||
return entity instanceof IInventory && entity.isEntityAlive();
|
||||
}
|
||||
});
|
||||
|
|
|
@ -2,7 +2,8 @@ package game.tileentity;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import game.collect.Lists;
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import game.entity.Entity;
|
||||
import game.init.BlockRegistry;
|
||||
import game.init.Blocks;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue