initial c to java port package cleanup, WCF func adjust
This commit is contained in:
parent
6c59ca5d73
commit
2d1df55e65
330 changed files with 397 additions and 8199 deletions
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
|
||||
import game.ExtMath;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.util.ExtMath;
|
||||
|
||||
public class AIRangedAttack extends EntityAIBase
|
||||
{
|
||||
|
|
|
@ -3,11 +3,11 @@ package game.ai;
|
|||
import java.util.List;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import game.Predicates;
|
||||
import game.entity.Entity;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.pathfinding.PathEntity;
|
||||
import game.pathfinding.PathNavigate;
|
||||
import game.util.Predicates;
|
||||
import game.world.Vec3;
|
||||
|
||||
public class EntityAIAvoidEntity<T extends Entity> extends EntityAIBase
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package game.ai;
|
||||
|
||||
import game.ExtMath;
|
||||
import game.block.Block;
|
||||
import game.block.BlockSlab;
|
||||
import game.block.BlockStairs;
|
||||
|
@ -10,6 +9,7 @@ import game.init.Items;
|
|||
import game.item.ItemStack;
|
||||
import game.material.Material;
|
||||
import game.pathfinding.WalkNodeProcessor;
|
||||
import game.util.ExtMath;
|
||||
import game.world.BlockPos;
|
||||
|
||||
public class EntityAIControlledByPlayer extends EntityAIBase
|
||||
|
|
|
@ -2,13 +2,13 @@ package game.ai;
|
|||
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import game.Predicates;
|
||||
import game.block.BlockTallGrass;
|
||||
import game.entity.animal.EntitySheep;
|
||||
import game.init.BlockRegistry;
|
||||
import game.init.Blocks;
|
||||
import game.init.Config;
|
||||
import game.pattern.BlockStateHelper;
|
||||
import game.util.Predicates;
|
||||
import game.world.BlockPos;
|
||||
import game.world.State;
|
||||
import game.world.World;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
|
||||
import game.ExtMath;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.util.ExtMath;
|
||||
|
||||
public class EntityAILeapAtTarget extends EntityAIBase
|
||||
{
|
||||
|
|
|
@ -2,11 +2,11 @@ package game.ai;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import game.ExtMath;
|
||||
import game.collect.Lists;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.pathfinding.PathEntity;
|
||||
import game.pathfinding.PathNavigateGround;
|
||||
import game.util.ExtMath;
|
||||
import game.village.Village;
|
||||
import game.village.VillageDoorInfo;
|
||||
import game.world.BlockPos;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
package game.ai;
|
||||
|
||||
import game.ExtMath;
|
||||
import game.entity.item.EntityItem;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.init.Items;
|
||||
import game.inventory.InventoryBasic;
|
||||
import game.item.Item;
|
||||
import game.item.ItemStack;
|
||||
import game.util.ExtMath;
|
||||
|
||||
public class EntityAIShareItems extends EntityAIWatchClosest2
|
||||
{
|
||||
|
|
|
@ -2,7 +2,6 @@ package game.ai;
|
|||
|
||||
import java.util.Map;
|
||||
|
||||
import game.ExtMath;
|
||||
import game.block.Block;
|
||||
import game.collect.Maps;
|
||||
import game.entity.npc.EntityNPC;
|
||||
|
@ -12,6 +11,7 @@ import game.init.ItemRegistry;
|
|||
import game.item.ItemStack;
|
||||
import game.material.Material;
|
||||
import game.rng.Random;
|
||||
import game.util.ExtMath;
|
||||
import game.world.BlockPos;
|
||||
import game.world.State;
|
||||
import game.world.World;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package game.ai;
|
||||
|
||||
import game.ExtMath;
|
||||
import game.entity.attributes.AttributeInstance;
|
||||
import game.entity.attributes.Attributes;
|
||||
import game.entity.types.EntityLiving;
|
||||
|
@ -8,6 +7,7 @@ import game.entity.types.IEntityOwnable;
|
|||
import game.init.Config;
|
||||
import game.pathfinding.PathEntity;
|
||||
import game.pathfinding.PathPoint;
|
||||
import game.util.ExtMath;
|
||||
import game.world.BlockPos;
|
||||
|
||||
public abstract class EntityAITarget extends EntityAIBase
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
|
||||
import game.ExtMath;
|
||||
import game.entity.Entity;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.util.ExtMath;
|
||||
|
||||
public class EntityLookHelper
|
||||
{
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
|
||||
import game.ExtMath;
|
||||
import game.entity.attributes.Attributes;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.util.ExtMath;
|
||||
|
||||
public class EntityMoveHelper
|
||||
{
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
|
||||
import game.ExtMath;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.rng.Random;
|
||||
import game.util.ExtMath;
|
||||
import game.world.BlockPos;
|
||||
import game.world.Vec3;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue