change package names
This commit is contained in:
parent
3e70accb76
commit
d08d0e11fc
1246 changed files with 9285 additions and 9272 deletions
|
@ -1,13 +1,13 @@
|
|||
package game;
|
||||
package common;
|
||||
|
||||
import game.entity.Entity;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.entity.types.IEntityFX;
|
||||
import game.model.ParticleType;
|
||||
import game.nbt.NBTTagCompound;
|
||||
import game.sound.Sound;
|
||||
import game.world.BlockPos;
|
||||
import game.world.State;
|
||||
import common.entity.Entity;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.entity.types.IEntityFX;
|
||||
import common.model.ParticleType;
|
||||
import common.nbt.NBTTagCompound;
|
||||
import common.sound.Sound;
|
||||
import common.world.BlockPos;
|
||||
import common.world.State;
|
||||
|
||||
public interface IClient {
|
||||
int getRenderDistance();
|
|
@ -1,16 +1,16 @@
|
|||
package game;
|
||||
package common;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import game.entity.Entity;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.network.IPlayer;
|
||||
import game.network.Packet;
|
||||
import game.world.BlockPos;
|
||||
import game.world.PortalType;
|
||||
import game.world.Position;
|
||||
import game.world.WorldServer;
|
||||
import common.entity.Entity;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.network.IPlayer;
|
||||
import common.network.Packet;
|
||||
import common.world.BlockPos;
|
||||
import common.world.PortalType;
|
||||
import common.world.Position;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public interface IServer {
|
||||
List<IPlayer> getIPlayers();
|
|
@ -1,13 +1,13 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.entity.projectile.EntityFireball;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.init.Items;
|
||||
import game.item.ItemStack;
|
||||
import game.world.BlockPos;
|
||||
import game.world.Vec3;
|
||||
import game.world.World;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.entity.projectile.EntityFireball;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.init.Items;
|
||||
import common.item.ItemStack;
|
||||
import common.world.BlockPos;
|
||||
import common.world.Vec3;
|
||||
import common.world.World;
|
||||
|
||||
public class AIFireballAttack extends EntityAIBase
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.entity.projectile.EntityBox;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.world.BlockPos;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.entity.projectile.EntityBox;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.world.BlockPos;
|
||||
|
||||
public class AIFlyingBoxAttack extends EntityAIBase
|
||||
{
|
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.util.ExtMath;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.util.ExtMath;
|
||||
|
||||
public class AIRangedAttack extends EntityAIBase
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.entity.projectile.EntityFireCharge;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.world.BlockPos;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.entity.projectile.EntityFireCharge;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.world.BlockPos;
|
||||
|
||||
public class AISmallFireballAttack extends EntityAIBase
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.Entity;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.pathfinding.PathEntity;
|
||||
import game.world.BlockPos;
|
||||
import game.world.World;
|
||||
import common.entity.Entity;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.pathfinding.PathEntity;
|
||||
import common.world.BlockPos;
|
||||
import common.world.World;
|
||||
|
||||
public class EntityAIAttackOnCollide extends EntityAIBase
|
||||
{
|
|
@ -1,14 +1,14 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
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;
|
||||
import common.entity.Entity;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.pathfinding.PathEntity;
|
||||
import common.pathfinding.PathNavigate;
|
||||
import common.util.Predicates;
|
||||
import common.world.Vec3;
|
||||
|
||||
public class EntityAIAvoidEntity<T extends Entity> extends EntityAIBase
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
public abstract class EntityAIBase
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.animal.EntityWolf;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.init.Items;
|
||||
import game.item.ItemStack;
|
||||
import game.world.World;
|
||||
import common.entity.animal.EntityWolf;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.init.Items;
|
||||
import common.item.ItemStack;
|
||||
import common.world.World;
|
||||
|
||||
public class EntityAIBeg extends EntityAIBase
|
||||
{
|
|
@ -1,16 +1,16 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.block.Block;
|
||||
import game.block.BlockSlab;
|
||||
import game.block.BlockStairs;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.init.Items;
|
||||
import game.item.ItemStack;
|
||||
import game.material.Material;
|
||||
import game.pathfinding.WalkNodeProcessor;
|
||||
import game.util.ExtMath;
|
||||
import game.world.BlockPos;
|
||||
import common.block.Block;
|
||||
import common.block.BlockSlab;
|
||||
import common.block.BlockStairs;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.init.Items;
|
||||
import common.item.ItemStack;
|
||||
import common.material.Material;
|
||||
import common.pathfinding.WalkNodeProcessor;
|
||||
import common.util.ExtMath;
|
||||
import common.world.BlockPos;
|
||||
|
||||
public class EntityAIControlledByPlayer extends EntityAIBase
|
||||
{
|
|
@ -1,13 +1,13 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.block.Block;
|
||||
import game.block.BlockDoor;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.material.Material;
|
||||
import game.pathfinding.PathEntity;
|
||||
import game.pathfinding.PathNavigateGround;
|
||||
import game.pathfinding.PathPoint;
|
||||
import game.world.BlockPos;
|
||||
import common.block.Block;
|
||||
import common.block.BlockDoor;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.material.Material;
|
||||
import common.pathfinding.PathEntity;
|
||||
import common.pathfinding.PathNavigateGround;
|
||||
import common.pathfinding.PathPoint;
|
||||
import common.world.BlockPos;
|
||||
|
||||
public abstract class EntityAIDoorInteract extends EntityAIBase
|
||||
{
|
|
@ -1,17 +1,17 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import java.util.function.Predicate;
|
||||
|
||||
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;
|
||||
import common.block.BlockTallGrass;
|
||||
import common.entity.animal.EntitySheep;
|
||||
import common.init.BlockRegistry;
|
||||
import common.init.Blocks;
|
||||
import common.init.Config;
|
||||
import common.pattern.BlockStateHelper;
|
||||
import common.util.Predicates;
|
||||
import common.world.BlockPos;
|
||||
import common.world.State;
|
||||
import common.world.World;
|
||||
|
||||
public class EntityAIEatGrass extends EntityAIBase
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.npc.EntityHaunter;
|
||||
import game.entity.types.EntityLiving;
|
||||
import common.entity.npc.EntityHaunter;
|
||||
import common.entity.types.EntityLiving;
|
||||
|
||||
public class EntityAIExplode extends EntityAIBase
|
||||
{
|
|
@ -1,12 +1,12 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import game.entity.attributes.AttributeInstance;
|
||||
import game.entity.attributes.Attributes;
|
||||
import game.entity.types.EntityLiving;
|
||||
import common.entity.attributes.AttributeInstance;
|
||||
import common.entity.attributes.Attributes;
|
||||
import common.entity.types.EntityLiving;
|
||||
|
||||
public class EntityAIFindEntityNearest extends EntityAIBase
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.Vec3;
|
||||
import game.world.World;
|
||||
import game.world.WorldServer;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.rng.Random;
|
||||
import common.world.BlockPos;
|
||||
import common.world.Vec3;
|
||||
import common.world.World;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public class EntityAIFleeSun extends EntityAIBase
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.entity.types.EntityTameable;
|
||||
import game.pathfinding.PathNavigate;
|
||||
import game.pathfinding.PathNavigateGround;
|
||||
import game.world.World;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.entity.types.EntityTameable;
|
||||
import common.pathfinding.PathNavigate;
|
||||
import common.pathfinding.PathNavigateGround;
|
||||
import common.world.World;
|
||||
|
||||
public class EntityAIFollowOwner extends EntityAIBase
|
||||
{
|
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import game.entity.types.EntityAnimal;
|
||||
import common.entity.types.EntityAnimal;
|
||||
|
||||
public class EntityAIFollowParent extends EntityAIBase
|
||||
{
|
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.world.BlockPos;
|
||||
import game.world.World;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.world.BlockPos;
|
||||
import common.world.World;
|
||||
|
||||
public class EntityAIHarvestFarmland extends EntityAIMoveToBlock
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.world.BoundingBox;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.world.BoundingBox;
|
||||
|
||||
public class EntityAIHurtByTarget extends EntityAITarget
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.util.ExtMath;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.util.ExtMath;
|
||||
|
||||
public class EntityAILeapAtTarget extends EntityAIBase
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.npc.EntityNPC;
|
||||
import common.entity.npc.EntityNPC;
|
||||
|
||||
public class EntityAILookAtTalkingPlayer extends EntityAIWatchClosest
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import common.entity.types.EntityLiving;
|
||||
|
||||
public class EntityAILookIdle extends EntityAIBase
|
||||
{
|
|
@ -1,15 +1,15 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import game.entity.item.EntityXp;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.entity.types.EntityAnimal;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.init.Config;
|
||||
import game.model.ParticleType;
|
||||
import game.rng.Random;
|
||||
import game.world.World;
|
||||
import common.entity.item.EntityXp;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.entity.types.EntityAnimal;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.init.Config;
|
||||
import common.model.ParticleType;
|
||||
import common.rng.Random;
|
||||
import common.world.World;
|
||||
|
||||
public class EntityAIMate extends EntityAIBase
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.village.Village;
|
||||
import game.village.VillageDoorInfo;
|
||||
import game.world.BlockPos;
|
||||
import game.world.Vec3;
|
||||
import game.world.WorldServer;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.village.Village;
|
||||
import common.village.VillageDoorInfo;
|
||||
import common.world.BlockPos;
|
||||
import common.world.Vec3;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public class EntityAIMoveIndoors extends EntityAIBase
|
||||
{
|
|
@ -1,17 +1,17 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
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;
|
||||
import game.world.Vec3;
|
||||
import game.world.WorldServer;
|
||||
import common.collect.Lists;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.pathfinding.PathEntity;
|
||||
import common.pathfinding.PathNavigateGround;
|
||||
import common.util.ExtMath;
|
||||
import common.village.Village;
|
||||
import common.village.VillageDoorInfo;
|
||||
import common.world.BlockPos;
|
||||
import common.world.Vec3;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public class EntityAIMoveThroughVillage extends EntityAIBase
|
||||
{
|
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.world.BlockPos;
|
||||
import game.world.World;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.world.BlockPos;
|
||||
import common.world.World;
|
||||
|
||||
public abstract class EntityAIMoveToBlock extends EntityAIBase
|
||||
{
|
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.world.BlockPos;
|
||||
import game.world.Vec3;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.world.BlockPos;
|
||||
import common.world.Vec3;
|
||||
|
||||
public class EntityAIMoveTowardsRestriction extends EntityAIBase
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.world.Vec3;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.world.Vec3;
|
||||
|
||||
public class EntityAIMoveTowardsTarget extends EntityAIBase
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.inventory.ContainerMerchant;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.inventory.ContainerMerchant;
|
||||
|
||||
public class EntityAINagPlayer extends EntityAIBase
|
||||
{
|
|
@ -1,12 +1,12 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import game.entity.Entity;
|
||||
import game.entity.types.EntityLiving;
|
||||
import common.entity.Entity;
|
||||
import common.entity.types.EntityLiving;
|
||||
|
||||
public class EntityAINearestAttackableTarget<T extends EntityLiving> extends EntityAITarget
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.npc.EntityNPC;
|
||||
import common.entity.npc.EntityNPC;
|
||||
|
||||
public class EntityAINpcInteract extends EntityAIWatchClosest2
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.Entity;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.world.World;
|
||||
import game.world.WorldServer;
|
||||
import common.entity.Entity;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.world.World;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public class EntityAINpcMate extends EntityAIBase
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.world.World;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.world.World;
|
||||
|
||||
public class EntityAIOcelotAttack extends EntityAIBase
|
||||
{
|
|
@ -1,14 +1,14 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.block.Block;
|
||||
import game.block.BlockBed;
|
||||
import game.entity.animal.EntityOcelot;
|
||||
import game.init.Blocks;
|
||||
import game.tileentity.TileEntity;
|
||||
import game.tileentity.TileEntityChest;
|
||||
import game.world.BlockPos;
|
||||
import game.world.State;
|
||||
import game.world.World;
|
||||
import common.block.Block;
|
||||
import common.block.BlockBed;
|
||||
import common.entity.animal.EntityOcelot;
|
||||
import common.init.Blocks;
|
||||
import common.tileentity.TileEntity;
|
||||
import common.tileentity.TileEntityChest;
|
||||
import common.world.BlockPos;
|
||||
import common.world.State;
|
||||
import common.world.World;
|
||||
|
||||
public class EntityAIOcelotSit extends EntityAIMoveToBlock
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import common.entity.types.EntityLiving;
|
||||
|
||||
public class EntityAIOpenDoor extends EntityAIDoorInteract
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.entity.types.EntityTameable;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.entity.types.EntityTameable;
|
||||
|
||||
public class EntityAIOwnerHurtByTarget extends EntityAITarget
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.entity.types.EntityTameable;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.entity.types.EntityTameable;
|
||||
|
||||
public class EntityAIOwnerHurtTarget extends EntityAITarget
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.world.Vec3;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.world.Vec3;
|
||||
|
||||
public class EntityAIPanic extends EntityAIBase
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.world.Vec3;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.world.Vec3;
|
||||
|
||||
public class EntityAIPlay extends EntityAIBase {
|
||||
private EntityNPC entity;
|
|
@ -1,11 +1,11 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.pathfinding.PathNavigateGround;
|
||||
import game.village.Village;
|
||||
import game.village.VillageDoorInfo;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.pathfinding.PathNavigateGround;
|
||||
import common.village.Village;
|
||||
import common.village.VillageDoorInfo;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public class EntityAIRestrictOpenDoor extends EntityAIBase
|
||||
{
|
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.pathfinding.PathNavigateGround;
|
||||
import game.world.WorldServer;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.pathfinding.PathNavigateGround;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public class EntityAIRestrictSun extends EntityAIBase
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.Entity;
|
||||
import game.entity.animal.EntityHorse;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.world.Vec3;
|
||||
import common.entity.Entity;
|
||||
import common.entity.animal.EntityHorse;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.world.Vec3;
|
||||
|
||||
public class EntityAIRunAroundLikeCrazy extends EntityAIBase
|
||||
{
|
|
@ -1,12 +1,12 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
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;
|
||||
import common.entity.item.EntityItem;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.init.Items;
|
||||
import common.inventory.InventoryBasic;
|
||||
import common.item.Item;
|
||||
import common.item.ItemStack;
|
||||
import common.util.ExtMath;
|
||||
|
||||
public class EntityAIShareItems extends EntityAIWatchClosest2
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.entity.types.EntityTameable;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.entity.types.EntityTameable;
|
||||
|
||||
public class EntityAISit extends EntityAIBase
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.pathfinding.PathNavigateGround;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.pathfinding.PathNavigateGround;
|
||||
|
||||
public class EntityAISwimming extends EntityAIBase
|
||||
{
|
|
@ -1,20 +1,20 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import game.block.Block;
|
||||
import game.collect.Maps;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.init.Blocks;
|
||||
import game.init.Config;
|
||||
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;
|
||||
import common.block.Block;
|
||||
import common.collect.Maps;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.init.Blocks;
|
||||
import common.init.Config;
|
||||
import common.init.ItemRegistry;
|
||||
import common.item.ItemStack;
|
||||
import common.material.Material;
|
||||
import common.rng.Random;
|
||||
import common.util.ExtMath;
|
||||
import common.world.BlockPos;
|
||||
import common.world.State;
|
||||
import common.world.World;
|
||||
|
||||
public class EntityAITakePlace extends EntityAIBase
|
||||
{
|
|
@ -1,14 +1,14 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.attributes.AttributeInstance;
|
||||
import game.entity.attributes.Attributes;
|
||||
import game.entity.types.EntityLiving;
|
||||
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;
|
||||
import common.entity.attributes.AttributeInstance;
|
||||
import common.entity.attributes.Attributes;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.entity.types.IEntityOwnable;
|
||||
import common.init.Config;
|
||||
import common.pathfinding.PathEntity;
|
||||
import common.pathfinding.PathPoint;
|
||||
import common.util.ExtMath;
|
||||
import common.world.BlockPos;
|
||||
|
||||
public abstract class EntityAITarget extends EntityAIBase
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.entity.types.EntityTameable;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.entity.types.EntityTameable;
|
||||
|
||||
public class EntityAITargetNonTamed<T extends EntityLiving> extends EntityAINearestAttackableTarget
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import game.collect.Lists;
|
||||
import common.collect.Lists;
|
||||
|
||||
public class EntityAITasks
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.item.Item;
|
||||
import game.item.ItemStack;
|
||||
import game.pathfinding.PathNavigateGround;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.item.Item;
|
||||
import common.item.ItemStack;
|
||||
import common.pathfinding.PathNavigateGround;
|
||||
|
||||
public class EntityAITempt extends EntityAIBase
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.world.Vec3;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.world.Vec3;
|
||||
|
||||
public class EntityAIWander extends EntityAIBase
|
||||
{
|
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.Entity;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.world.WorldServer;
|
||||
import common.entity.Entity;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public class EntityAIWatchClosest extends EntityAIBase
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.Entity;
|
||||
import game.entity.types.EntityLiving;
|
||||
import common.entity.Entity;
|
||||
import common.entity.types.EntityLiving;
|
||||
|
||||
public class EntityAIWatchClosest2 extends EntityAIWatchClosest
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import common.entity.types.EntityLiving;
|
||||
|
||||
public class EntityJumpHelper
|
||||
{
|
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.Entity;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.util.ExtMath;
|
||||
import common.entity.Entity;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.util.ExtMath;
|
||||
|
||||
public class EntityLookHelper
|
||||
{
|
|
@ -1,8 +1,8 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.attributes.Attributes;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.util.ExtMath;
|
||||
import common.entity.attributes.Attributes;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.util.ExtMath;
|
||||
|
||||
public class EntityMoveHelper
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import game.collect.Lists;
|
||||
import game.entity.Entity;
|
||||
import game.entity.types.EntityLiving;
|
||||
import common.collect.Lists;
|
||||
import common.entity.Entity;
|
||||
import common.entity.types.EntityLiving;
|
||||
|
||||
public class EntitySenses
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package game.ai;
|
||||
package common.ai;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.rng.Random;
|
||||
import game.util.ExtMath;
|
||||
import game.world.BlockPos;
|
||||
import game.world.Vec3;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.rng.Random;
|
||||
import common.util.ExtMath;
|
||||
import common.world.BlockPos;
|
||||
import common.world.Vec3;
|
||||
|
||||
public class RandomPositionGenerator
|
||||
{
|
|
@ -1,61 +1,61 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import game.block.Block;
|
||||
import game.block.BlockColored;
|
||||
import game.block.BlockFlower;
|
||||
import game.block.BlockSand;
|
||||
import game.block.BlockTallGrass;
|
||||
import game.collect.Lists;
|
||||
import game.collect.Maps;
|
||||
import game.color.Colorizer;
|
||||
import game.color.DyeColor;
|
||||
import game.entity.animal.EntityBat;
|
||||
import game.entity.animal.EntityChicken;
|
||||
import game.entity.animal.EntityCow;
|
||||
import game.entity.animal.EntityMouse;
|
||||
import game.entity.animal.EntityPig;
|
||||
import game.entity.animal.EntityRabbit;
|
||||
import game.entity.animal.EntitySheep;
|
||||
import game.entity.animal.EntitySquid;
|
||||
import game.entity.npc.EntityArachnoid;
|
||||
import game.entity.npc.EntityHaunter;
|
||||
import game.entity.npc.EntityMage;
|
||||
import game.entity.npc.EntitySlime;
|
||||
import game.entity.npc.EntityUndead;
|
||||
import game.entity.npc.EntityZombie;
|
||||
import game.init.Blocks;
|
||||
import game.log.Log;
|
||||
import game.material.Material;
|
||||
import game.rng.PerlinGen;
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.util.ExtMath;
|
||||
import game.world.BlockPos;
|
||||
import game.world.State;
|
||||
import game.world.World;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.ChunkPrimer;
|
||||
import game.worldgen.FeatureGenerator;
|
||||
import game.worldgen.feature.WorldGenClay;
|
||||
import game.worldgen.feature.WorldGenClayExt;
|
||||
import game.worldgen.feature.WorldGenSand;
|
||||
import game.worldgen.foliage.FeatureDoublePlant;
|
||||
import game.worldgen.foliage.WorldGenBigMushroom;
|
||||
import game.worldgen.foliage.WorldGenCactus;
|
||||
import game.worldgen.foliage.WorldGenDeadBush;
|
||||
import game.worldgen.foliage.WorldGenFlowers;
|
||||
import game.worldgen.foliage.WorldGenMushroom;
|
||||
import game.worldgen.foliage.WorldGenPumpkin;
|
||||
import game.worldgen.foliage.WorldGenReed;
|
||||
import game.worldgen.foliage.WorldGenTallGrass;
|
||||
import game.worldgen.foliage.WorldGenWaterlily;
|
||||
import game.worldgen.tree.WorldGenBaseTree;
|
||||
import game.worldgen.tree.WorldGenBigTree;
|
||||
import game.worldgen.tree.WorldGenSwamp;
|
||||
import game.worldgen.tree.WorldGenTree;
|
||||
import common.block.Block;
|
||||
import common.block.BlockColored;
|
||||
import common.block.BlockFlower;
|
||||
import common.block.BlockSand;
|
||||
import common.block.BlockTallGrass;
|
||||
import common.collect.Lists;
|
||||
import common.collect.Maps;
|
||||
import common.color.Colorizer;
|
||||
import common.color.DyeColor;
|
||||
import common.entity.animal.EntityBat;
|
||||
import common.entity.animal.EntityChicken;
|
||||
import common.entity.animal.EntityCow;
|
||||
import common.entity.animal.EntityMouse;
|
||||
import common.entity.animal.EntityPig;
|
||||
import common.entity.animal.EntityRabbit;
|
||||
import common.entity.animal.EntitySheep;
|
||||
import common.entity.animal.EntitySquid;
|
||||
import common.entity.npc.EntityArachnoid;
|
||||
import common.entity.npc.EntityHaunter;
|
||||
import common.entity.npc.EntityMage;
|
||||
import common.entity.npc.EntitySlime;
|
||||
import common.entity.npc.EntityUndead;
|
||||
import common.entity.npc.EntityZombie;
|
||||
import common.init.Blocks;
|
||||
import common.log.Log;
|
||||
import common.material.Material;
|
||||
import common.rng.PerlinGen;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.util.ExtMath;
|
||||
import common.world.BlockPos;
|
||||
import common.world.State;
|
||||
import common.world.World;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.ChunkPrimer;
|
||||
import common.worldgen.FeatureGenerator;
|
||||
import common.worldgen.feature.WorldGenClay;
|
||||
import common.worldgen.feature.WorldGenClayExt;
|
||||
import common.worldgen.feature.WorldGenSand;
|
||||
import common.worldgen.foliage.FeatureDoublePlant;
|
||||
import common.worldgen.foliage.WorldGenBigMushroom;
|
||||
import common.worldgen.foliage.WorldGenCactus;
|
||||
import common.worldgen.foliage.WorldGenDeadBush;
|
||||
import common.worldgen.foliage.WorldGenFlowers;
|
||||
import common.worldgen.foliage.WorldGenMushroom;
|
||||
import common.worldgen.foliage.WorldGenPumpkin;
|
||||
import common.worldgen.foliage.WorldGenReed;
|
||||
import common.worldgen.foliage.WorldGenTallGrass;
|
||||
import common.worldgen.foliage.WorldGenWaterlily;
|
||||
import common.worldgen.tree.WorldGenBaseTree;
|
||||
import common.worldgen.tree.WorldGenBigTree;
|
||||
import common.worldgen.tree.WorldGenSwamp;
|
||||
import common.worldgen.tree.WorldGenTree;
|
||||
|
||||
public abstract class Biome {
|
||||
private static final Biome[] BIOMES = new Biome[256];
|
|
@ -1,7 +1,7 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.init.Blocks;
|
||||
import game.rng.WeightedList;
|
||||
import common.init.Blocks;
|
||||
import common.rng.WeightedList;
|
||||
|
||||
public class BiomeBeach extends Biome
|
||||
{
|
|
@ -1,13 +1,13 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.block.BlockFlower;
|
||||
import game.entity.npc.EntityMetalhead;
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.world.BlockPos;
|
||||
import game.worldgen.tree.WorldGenBaseTree;
|
||||
import game.worldgen.tree.WorldGenTree;
|
||||
import common.block.BlockFlower;
|
||||
import common.entity.npc.EntityMetalhead;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.world.BlockPos;
|
||||
import common.worldgen.tree.WorldGenBaseTree;
|
||||
import common.worldgen.tree.WorldGenTree;
|
||||
|
||||
public class BiomeBlackened extends Biome {
|
||||
protected final WorldGenTree treeGen = new WorldGenBaseTree(false, Blocks.blackwood_log.getState(), Blocks.blackwood_leaves.getState());
|
|
@ -1,15 +1,15 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.entity.Entity;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.init.Blocks;
|
||||
import game.init.EntityRegistry;
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.FeatureGenerator;
|
||||
import game.worldgen.foliage.WorldGenMushroom;
|
||||
import common.entity.Entity;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.init.Blocks;
|
||||
import common.init.EntityRegistry;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.FeatureGenerator;
|
||||
import common.worldgen.foliage.WorldGenMushroom;
|
||||
|
||||
public class BiomeChaos extends Biome
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.feature.WorldGenDesertWells;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.feature.WorldGenDesertWells;
|
||||
|
||||
public class BiomeDesert extends Biome
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public class BiomeExterminated extends Biome {
|
||||
public BiomeExterminated(int id) {
|
|
@ -1,22 +1,22 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.block.BlockDoublePlant;
|
||||
import game.block.BlockFlower;
|
||||
import game.color.Colorizer;
|
||||
import game.entity.animal.EntityWolf;
|
||||
import game.entity.npc.EntityElf;
|
||||
import game.entity.npc.EntityWoodElf;
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.util.ExtMath;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.foliage.WorldGenBigMushroom;
|
||||
import game.worldgen.tree.WorldGenBaseTree;
|
||||
import game.worldgen.tree.WorldGenBigTree;
|
||||
import game.worldgen.tree.WorldGenBirch;
|
||||
import game.worldgen.tree.WorldGenDarkOak;
|
||||
import game.worldgen.tree.WorldGenTree;
|
||||
import common.block.BlockDoublePlant;
|
||||
import common.block.BlockFlower;
|
||||
import common.color.Colorizer;
|
||||
import common.entity.animal.EntityWolf;
|
||||
import common.entity.npc.EntityElf;
|
||||
import common.entity.npc.EntityWoodElf;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.util.ExtMath;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.foliage.WorldGenBigMushroom;
|
||||
import common.worldgen.tree.WorldGenBaseTree;
|
||||
import common.worldgen.tree.WorldGenBigTree;
|
||||
import common.worldgen.tree.WorldGenBirch;
|
||||
import common.worldgen.tree.WorldGenDarkOak;
|
||||
import common.worldgen.tree.WorldGenTree;
|
||||
|
||||
public class BiomeForest extends Biome
|
||||
{
|
|
@ -1,21 +1,21 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.entity.npc.EntityBloodElf;
|
||||
import game.entity.npc.EntityCultivator;
|
||||
import game.entity.npc.EntityFireDemon;
|
||||
import game.entity.npc.EntityMagma;
|
||||
import game.entity.npc.EntityMetalhead;
|
||||
import game.entity.npc.EntityTiefling;
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.FeatureOres;
|
||||
import game.worldgen.feature.WorldGenFire;
|
||||
import game.worldgen.feature.WorldGenGlowStone;
|
||||
import game.worldgen.feature.WorldGenHellLava;
|
||||
import game.worldgen.foliage.WorldGenMushroom;
|
||||
import common.entity.npc.EntityBloodElf;
|
||||
import common.entity.npc.EntityCultivator;
|
||||
import common.entity.npc.EntityFireDemon;
|
||||
import common.entity.npc.EntityMagma;
|
||||
import common.entity.npc.EntityMetalhead;
|
||||
import common.entity.npc.EntityTiefling;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.FeatureOres;
|
||||
import common.worldgen.feature.WorldGenFire;
|
||||
import common.worldgen.feature.WorldGenGlowStone;
|
||||
import common.worldgen.feature.WorldGenHellLava;
|
||||
import common.worldgen.foliage.WorldGenMushroom;
|
||||
|
||||
public class BiomeHell extends Biome
|
||||
{
|
|
@ -1,13 +1,13 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.ChunkPrimer;
|
||||
import game.worldgen.FeatureOres;
|
||||
import game.worldgen.tree.WorldGenTaiga2;
|
||||
import game.worldgen.tree.WorldGenTree;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.ChunkPrimer;
|
||||
import common.worldgen.FeatureOres;
|
||||
import common.worldgen.tree.WorldGenTaiga2;
|
||||
import common.worldgen.tree.WorldGenTree;
|
||||
|
||||
public class BiomeHills extends Biome
|
||||
{
|
|
@ -1,21 +1,21 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.block.BlockTallGrass;
|
||||
import game.entity.animal.EntityChicken;
|
||||
import game.entity.animal.EntityOcelot;
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.State;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.FeatureGenerator;
|
||||
import game.worldgen.foliage.WorldGenMelon;
|
||||
import game.worldgen.foliage.WorldGenShrub;
|
||||
import game.worldgen.foliage.WorldGenTallGrass;
|
||||
import game.worldgen.foliage.WorldGenVines;
|
||||
import game.worldgen.tree.WorldGenBaseTree;
|
||||
import game.worldgen.tree.WorldGenJungle;
|
||||
import game.worldgen.tree.WorldGenTree;
|
||||
import common.block.BlockTallGrass;
|
||||
import common.entity.animal.EntityChicken;
|
||||
import common.entity.animal.EntityOcelot;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.world.BlockPos;
|
||||
import common.world.State;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.FeatureGenerator;
|
||||
import common.worldgen.foliage.WorldGenMelon;
|
||||
import common.worldgen.foliage.WorldGenShrub;
|
||||
import common.worldgen.foliage.WorldGenTallGrass;
|
||||
import common.worldgen.foliage.WorldGenVines;
|
||||
import common.worldgen.tree.WorldGenBaseTree;
|
||||
import common.worldgen.tree.WorldGenJungle;
|
||||
import common.worldgen.tree.WorldGenTree;
|
||||
|
||||
public class BiomeJungle extends Biome
|
||||
{
|
|
@ -1,22 +1,22 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import game.block.Block;
|
||||
import game.block.BlockColored;
|
||||
import game.block.BlockDirt;
|
||||
import game.block.BlockSand;
|
||||
import game.color.DyeColor;
|
||||
import game.init.Blocks;
|
||||
import game.material.Material;
|
||||
import game.rng.PerlinGen;
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.world.BlockPos;
|
||||
import game.world.State;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.ChunkPrimer;
|
||||
import game.worldgen.tree.WorldGenTree;
|
||||
import common.block.Block;
|
||||
import common.block.BlockColored;
|
||||
import common.block.BlockDirt;
|
||||
import common.block.BlockSand;
|
||||
import common.color.DyeColor;
|
||||
import common.init.Blocks;
|
||||
import common.material.Material;
|
||||
import common.rng.PerlinGen;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.world.BlockPos;
|
||||
import common.world.State;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.ChunkPrimer;
|
||||
import common.worldgen.tree.WorldGenTree;
|
||||
|
||||
public class BiomeMesa extends Biome
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.FeatureOres;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.FeatureOres;
|
||||
|
||||
public class BiomeMoon extends Biome {
|
||||
private FeatureOres cheeseGenerator = new FeatureOres(Blocks.moon_cheese.getState(), 8, 8, 12, 24, 52, false);
|
|
@ -1,8 +1,8 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.entity.animal.EntityMooshroom;
|
||||
import game.init.Blocks;
|
||||
import game.rng.WeightedList;
|
||||
import common.entity.animal.EntityMooshroom;
|
||||
import common.init.Blocks;
|
||||
import common.rng.WeightedList;
|
||||
|
||||
public class BiomeMushroom extends Biome
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.ChunkPrimer;
|
||||
import game.worldgen.tree.WorldGenTree;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.ChunkPrimer;
|
||||
import common.worldgen.tree.WorldGenTree;
|
||||
|
||||
public class BiomeMutated extends Biome
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.ChunkPrimer;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.ChunkPrimer;
|
||||
|
||||
public class BiomeNone extends Biome {
|
||||
public BiomeNone(int id) {
|
|
@ -1,11 +1,11 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.block.BlockDoublePlant;
|
||||
import game.block.BlockFlower;
|
||||
import game.entity.animal.EntityHorse;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import common.block.BlockDoublePlant;
|
||||
import common.block.BlockFlower;
|
||||
import common.entity.animal.EntityHorse;
|
||||
import common.rng.Random;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public class BiomePlains extends Biome
|
||||
{
|
|
@ -1,15 +1,15 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.block.BlockDirt;
|
||||
import game.block.BlockDoublePlant;
|
||||
import game.entity.animal.EntityHorse;
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.ChunkPrimer;
|
||||
import game.worldgen.tree.WorldGenSavanna;
|
||||
import game.worldgen.tree.WorldGenTree;
|
||||
import common.block.BlockDirt;
|
||||
import common.block.BlockDoublePlant;
|
||||
import common.entity.animal.EntityHorse;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.ChunkPrimer;
|
||||
import common.worldgen.tree.WorldGenSavanna;
|
||||
import common.worldgen.tree.WorldGenTree;
|
||||
|
||||
public class BiomeSavanna extends Biome
|
||||
{
|
|
@ -1,14 +1,14 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.feature.WorldGenIcePath;
|
||||
import game.worldgen.feature.WorldGenIceSpike;
|
||||
import game.worldgen.tree.WorldGenTaiga2;
|
||||
import game.worldgen.tree.WorldGenTree;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.feature.WorldGenIcePath;
|
||||
import common.worldgen.feature.WorldGenIceSpike;
|
||||
import common.worldgen.tree.WorldGenTaiga2;
|
||||
import common.worldgen.tree.WorldGenTree;
|
||||
|
||||
public class BiomeSnow extends Biome
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.entity.animal.EntitySheep;
|
||||
import game.entity.npc.EntitySpirit;
|
||||
import game.init.Blocks;
|
||||
import game.rng.WeightedList;
|
||||
import common.entity.animal.EntitySheep;
|
||||
import common.entity.npc.EntitySpirit;
|
||||
import common.init.Blocks;
|
||||
import common.rng.WeightedList;
|
||||
|
||||
public class BiomeSnowLand extends Biome
|
||||
{
|
|
@ -1,13 +1,13 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.block.BlockDirt;
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.FeatureGenerator;
|
||||
import game.worldgen.feature.WorldGenAsteroid;
|
||||
import common.block.BlockDirt;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.FeatureGenerator;
|
||||
import common.worldgen.feature.WorldGenAsteroid;
|
||||
|
||||
public class BiomeSpace extends Biome
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.init.Blocks;
|
||||
import game.rng.WeightedList;
|
||||
import common.init.Blocks;
|
||||
import common.rng.WeightedList;
|
||||
|
||||
public class BiomeStoneBeach extends Biome
|
||||
{
|
|
@ -1,16 +1,16 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.block.BlockDirectional;
|
||||
import game.block.BlockFlower;
|
||||
import game.entity.npc.EntitySlime;
|
||||
import game.init.Blocks;
|
||||
import game.material.Material;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.Facing;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.ChunkPrimer;
|
||||
import game.worldgen.tree.WorldGenTree;
|
||||
import common.block.BlockDirectional;
|
||||
import common.block.BlockFlower;
|
||||
import common.entity.npc.EntitySlime;
|
||||
import common.init.Blocks;
|
||||
import common.material.Material;
|
||||
import common.rng.Random;
|
||||
import common.world.BlockPos;
|
||||
import common.world.Facing;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.ChunkPrimer;
|
||||
import common.worldgen.tree.WorldGenTree;
|
||||
|
||||
public class BiomeSwamp extends Biome
|
||||
{
|
|
@ -1,21 +1,21 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.block.BlockDirt;
|
||||
import game.block.BlockDoublePlant;
|
||||
import game.block.BlockTallGrass;
|
||||
import game.entity.animal.EntityWolf;
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.ChunkPrimer;
|
||||
import game.worldgen.FeatureGenerator;
|
||||
import game.worldgen.feature.WorldGenBlockBlob;
|
||||
import game.worldgen.foliage.WorldGenTallGrass;
|
||||
import game.worldgen.tree.WorldGenPine;
|
||||
import game.worldgen.tree.WorldGenTaiga1;
|
||||
import game.worldgen.tree.WorldGenTaiga2;
|
||||
import game.worldgen.tree.WorldGenTree;
|
||||
import common.block.BlockDirt;
|
||||
import common.block.BlockDoublePlant;
|
||||
import common.block.BlockTallGrass;
|
||||
import common.entity.animal.EntityWolf;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.ChunkPrimer;
|
||||
import common.worldgen.FeatureGenerator;
|
||||
import common.worldgen.feature.WorldGenBlockBlob;
|
||||
import common.worldgen.foliage.WorldGenTallGrass;
|
||||
import common.worldgen.tree.WorldGenPine;
|
||||
import common.worldgen.tree.WorldGenTaiga1;
|
||||
import common.worldgen.tree.WorldGenTaiga2;
|
||||
import common.worldgen.tree.WorldGenTree;
|
||||
|
||||
public class BiomeTaiga extends Biome
|
||||
{
|
|
@ -1,21 +1,21 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.block.BlockFlower;
|
||||
import game.entity.animal.EntityBat;
|
||||
import game.entity.animal.EntityMouse;
|
||||
import game.entity.animal.EntityRabbit;
|
||||
import game.entity.npc.EntityCultivator;
|
||||
import game.init.Blocks;
|
||||
import game.rng.Random;
|
||||
import game.rng.WeightedList;
|
||||
import game.world.BlockPos;
|
||||
import game.world.WorldServer;
|
||||
import game.worldgen.FeatureGenerator;
|
||||
import game.worldgen.feature.WorldGenSpikes;
|
||||
import game.worldgen.foliage.WorldGenMushroom;
|
||||
import game.worldgen.tree.WorldGenBaseTree;
|
||||
import game.worldgen.tree.WorldGenBigTree;
|
||||
import game.worldgen.tree.WorldGenTree;
|
||||
import common.block.BlockFlower;
|
||||
import common.entity.animal.EntityBat;
|
||||
import common.entity.animal.EntityMouse;
|
||||
import common.entity.animal.EntityRabbit;
|
||||
import common.entity.npc.EntityCultivator;
|
||||
import common.init.Blocks;
|
||||
import common.rng.Random;
|
||||
import common.rng.WeightedList;
|
||||
import common.world.BlockPos;
|
||||
import common.world.WorldServer;
|
||||
import common.worldgen.FeatureGenerator;
|
||||
import common.worldgen.feature.WorldGenSpikes;
|
||||
import common.worldgen.foliage.WorldGenMushroom;
|
||||
import common.worldgen.tree.WorldGenBaseTree;
|
||||
import common.worldgen.tree.WorldGenBigTree;
|
||||
import common.worldgen.tree.WorldGenTree;
|
||||
|
||||
public class BiomeTian extends Biome
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.entity.animal.EntitySquid;
|
||||
import game.rng.WeightedList;
|
||||
import common.entity.animal.EntitySquid;
|
||||
import common.rng.WeightedList;
|
||||
|
||||
public class BiomeWater extends Biome {
|
||||
private final boolean river;
|
|
@ -1,7 +1,7 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.rng.RngItem;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.rng.RngItem;
|
||||
|
||||
public class RngSpawn extends RngItem {
|
||||
public final Class<? extends EntityLiving> type;
|
|
@ -1,4 +1,4 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
public enum Scaling {
|
||||
VARYING_LOW(0.1F, 0.2F),
|
|
@ -1,4 +1,4 @@
|
|||
package game.biome;
|
||||
package common.biome;
|
||||
|
||||
public enum Temperature {
|
||||
SEA, COLD, MEDIUM, WARM;
|
|
@ -1,4 +1,4 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
import java.lang.reflect.Array;
|
||||
import java.util.Arrays;
|
||||
|
@ -11,45 +11,45 @@ import java.util.Map;
|
|||
import java.util.NoSuchElementException;
|
||||
import java.util.function.Function;
|
||||
|
||||
import game.collect.ImmutableList;
|
||||
import game.collect.ImmutableMap;
|
||||
import game.collect.Iterables;
|
||||
import game.collect.Lists;
|
||||
import game.collect.Maps;
|
||||
import game.collect.UnmodifiableIterator;
|
||||
import game.enchantment.EnchantmentHelper;
|
||||
import game.entity.Entity;
|
||||
import game.entity.item.EntityItem;
|
||||
import game.entity.item.EntityXp;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.init.Config;
|
||||
import game.init.ItemRegistry;
|
||||
import game.item.CheatTab;
|
||||
import game.item.Item;
|
||||
import game.item.ItemStack;
|
||||
import game.material.Material;
|
||||
import game.model.BlockLayer;
|
||||
import game.model.Model;
|
||||
import game.model.ModelProvider;
|
||||
import game.model.Transforms;
|
||||
import game.properties.IProperty;
|
||||
import game.rng.Random;
|
||||
import game.tileentity.TileEntity;
|
||||
import game.util.ExtMath;
|
||||
import game.world.BlockPos;
|
||||
import game.world.BoundingBox;
|
||||
import game.world.Explosion;
|
||||
import game.world.Facing;
|
||||
import game.world.HitPosition;
|
||||
import game.world.HitPosition.ObjectType;
|
||||
import game.world.IBlockAccess;
|
||||
import game.world.IWorldAccess;
|
||||
import game.world.State;
|
||||
import game.world.Vec3;
|
||||
import game.world.World;
|
||||
import game.world.WorldClient;
|
||||
import game.world.WorldServer;
|
||||
import common.collect.ImmutableList;
|
||||
import common.collect.ImmutableMap;
|
||||
import common.collect.Iterables;
|
||||
import common.collect.Lists;
|
||||
import common.collect.Maps;
|
||||
import common.collect.UnmodifiableIterator;
|
||||
import common.enchantment.EnchantmentHelper;
|
||||
import common.entity.Entity;
|
||||
import common.entity.item.EntityItem;
|
||||
import common.entity.item.EntityXp;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.init.Config;
|
||||
import common.init.ItemRegistry;
|
||||
import common.item.CheatTab;
|
||||
import common.item.Item;
|
||||
import common.item.ItemStack;
|
||||
import common.material.Material;
|
||||
import common.model.BlockLayer;
|
||||
import common.model.Model;
|
||||
import common.model.ModelProvider;
|
||||
import common.model.Transforms;
|
||||
import common.properties.IProperty;
|
||||
import common.rng.Random;
|
||||
import common.tileentity.TileEntity;
|
||||
import common.util.ExtMath;
|
||||
import common.world.BlockPos;
|
||||
import common.world.BoundingBox;
|
||||
import common.world.Explosion;
|
||||
import common.world.Facing;
|
||||
import common.world.HitPosition;
|
||||
import common.world.IBlockAccess;
|
||||
import common.world.IWorldAccess;
|
||||
import common.world.State;
|
||||
import common.world.Vec3;
|
||||
import common.world.World;
|
||||
import common.world.WorldClient;
|
||||
import common.world.WorldServer;
|
||||
import common.world.HitPosition.ObjectType;
|
||||
|
||||
public class Block
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
import game.material.Material;
|
||||
import game.world.BlockPos;
|
||||
import game.world.BoundingBox;
|
||||
import game.world.State;
|
||||
import game.world.World;
|
||||
import common.material.Material;
|
||||
import common.world.BlockPos;
|
||||
import common.world.BoundingBox;
|
||||
import common.world.State;
|
||||
import common.world.World;
|
||||
|
||||
public class BlockAir extends Block
|
||||
{
|
|
@ -1,30 +1,30 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import game.entity.item.EntityFalling;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.entity.types.EntityLiving;
|
||||
import game.inventory.Container;
|
||||
import game.inventory.ContainerRepair;
|
||||
import game.inventory.InventoryPlayer;
|
||||
import game.item.CheatTab;
|
||||
import game.item.Item;
|
||||
import game.item.ItemStack;
|
||||
import game.material.Material;
|
||||
import game.model.Model;
|
||||
import game.model.ModelProvider;
|
||||
import game.model.ModelRotation;
|
||||
import game.model.Transforms;
|
||||
import game.properties.IProperty;
|
||||
import game.properties.PropertyDirection;
|
||||
import game.properties.PropertyInteger;
|
||||
import game.tileentity.IInteractionObject;
|
||||
import game.world.BlockPos;
|
||||
import game.world.Facing;
|
||||
import game.world.IWorldAccess;
|
||||
import game.world.State;
|
||||
import game.world.World;
|
||||
import common.entity.item.EntityFalling;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.entity.types.EntityLiving;
|
||||
import common.inventory.Container;
|
||||
import common.inventory.ContainerRepair;
|
||||
import common.inventory.InventoryPlayer;
|
||||
import common.item.CheatTab;
|
||||
import common.item.Item;
|
||||
import common.item.ItemStack;
|
||||
import common.material.Material;
|
||||
import common.model.Model;
|
||||
import common.model.ModelProvider;
|
||||
import common.model.ModelRotation;
|
||||
import common.model.Transforms;
|
||||
import common.properties.IProperty;
|
||||
import common.properties.PropertyDirection;
|
||||
import common.properties.PropertyInteger;
|
||||
import common.tileentity.IInteractionObject;
|
||||
import common.world.BlockPos;
|
||||
import common.world.Facing;
|
||||
import common.world.IWorldAccess;
|
||||
import common.world.State;
|
||||
import common.world.World;
|
||||
|
||||
public class BlockAnvil extends BlockFalling
|
||||
{
|
|
@ -1,25 +1,25 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.init.Items;
|
||||
import game.item.Item;
|
||||
import game.item.ItemStack;
|
||||
import game.material.Material;
|
||||
import game.model.Transforms;
|
||||
import game.nbt.NBTTagCompound;
|
||||
import game.properties.IProperty;
|
||||
import game.properties.PropertyDirection;
|
||||
import game.properties.PropertyInteger;
|
||||
import game.rng.Random;
|
||||
import game.tileentity.TileEntity;
|
||||
import game.tileentity.TileEntityBanner;
|
||||
import game.world.BlockPos;
|
||||
import game.world.BoundingBox;
|
||||
import game.world.Facing;
|
||||
import game.world.IBlockAccess;
|
||||
import game.world.IWorldAccess;
|
||||
import game.world.State;
|
||||
import game.world.World;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.init.Items;
|
||||
import common.item.Item;
|
||||
import common.item.ItemStack;
|
||||
import common.material.Material;
|
||||
import common.model.Transforms;
|
||||
import common.nbt.NBTTagCompound;
|
||||
import common.properties.IProperty;
|
||||
import common.properties.PropertyDirection;
|
||||
import common.properties.PropertyInteger;
|
||||
import common.rng.Random;
|
||||
import common.tileentity.TileEntity;
|
||||
import common.tileentity.TileEntityBanner;
|
||||
import common.world.BlockPos;
|
||||
import common.world.BoundingBox;
|
||||
import common.world.Facing;
|
||||
import common.world.IBlockAccess;
|
||||
import common.world.IWorldAccess;
|
||||
import common.world.State;
|
||||
import common.world.World;
|
||||
|
||||
public class BlockBanner extends BlockContainer
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
public class BlockBaseFlower extends BlockFlower
|
||||
{
|
|
@ -1,20 +1,20 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
import game.entity.Entity;
|
||||
import game.init.SoundEvent;
|
||||
import game.item.CheatTab;
|
||||
import game.material.Material;
|
||||
import game.model.Model;
|
||||
import game.model.ModelProvider;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.BoundingBox;
|
||||
import game.world.Facing;
|
||||
import game.world.IBlockAccess;
|
||||
import game.world.IWorldAccess;
|
||||
import game.world.State;
|
||||
import game.world.World;
|
||||
import game.world.WorldServer;
|
||||
import common.entity.Entity;
|
||||
import common.init.SoundEvent;
|
||||
import common.item.CheatTab;
|
||||
import common.material.Material;
|
||||
import common.model.Model;
|
||||
import common.model.ModelProvider;
|
||||
import common.rng.Random;
|
||||
import common.world.BlockPos;
|
||||
import common.world.BoundingBox;
|
||||
import common.world.Facing;
|
||||
import common.world.IBlockAccess;
|
||||
import common.world.IWorldAccess;
|
||||
import common.world.State;
|
||||
import common.world.World;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public abstract class BlockBasePressurePlate extends Block
|
||||
{
|
|
@ -1,17 +1,17 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.item.CheatTab;
|
||||
import game.material.Material;
|
||||
import game.model.BlockLayer;
|
||||
import game.model.Model;
|
||||
import game.model.ModelProvider;
|
||||
import game.tileentity.TileEntity;
|
||||
import game.tileentity.TileEntityBeacon;
|
||||
import game.world.BlockPos;
|
||||
import game.world.Facing;
|
||||
import game.world.State;
|
||||
import game.world.World;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.item.CheatTab;
|
||||
import common.material.Material;
|
||||
import common.model.BlockLayer;
|
||||
import common.model.Model;
|
||||
import common.model.ModelProvider;
|
||||
import common.tileentity.TileEntity;
|
||||
import common.tileentity.TileEntityBeacon;
|
||||
import common.world.BlockPos;
|
||||
import common.world.Facing;
|
||||
import common.world.State;
|
||||
import common.world.World;
|
||||
|
||||
public class BlockBeacon extends BlockContainer
|
||||
{
|
|
@ -1,25 +1,25 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
import game.color.DyeColor;
|
||||
import game.color.TextColor;
|
||||
import game.entity.npc.EntityNPC;
|
||||
import game.init.ItemRegistry;
|
||||
import game.item.Item;
|
||||
import game.material.Material;
|
||||
import game.model.BlockLayer;
|
||||
import game.model.Model;
|
||||
import game.model.ModelProvider;
|
||||
import game.model.ModelRotation;
|
||||
import game.properties.IProperty;
|
||||
import game.properties.PropertyEnum;
|
||||
import game.rng.Random;
|
||||
import game.util.Identifyable;
|
||||
import game.world.BlockPos;
|
||||
import game.world.Facing;
|
||||
import game.world.IWorldAccess;
|
||||
import game.world.State;
|
||||
import game.world.World;
|
||||
import game.world.WorldPos;
|
||||
import common.color.DyeColor;
|
||||
import common.color.TextColor;
|
||||
import common.entity.npc.EntityNPC;
|
||||
import common.init.ItemRegistry;
|
||||
import common.item.Item;
|
||||
import common.material.Material;
|
||||
import common.model.BlockLayer;
|
||||
import common.model.Model;
|
||||
import common.model.ModelProvider;
|
||||
import common.model.ModelRotation;
|
||||
import common.properties.IProperty;
|
||||
import common.properties.PropertyEnum;
|
||||
import common.rng.Random;
|
||||
import common.util.Identifyable;
|
||||
import common.world.BlockPos;
|
||||
import common.world.Facing;
|
||||
import common.world.IWorldAccess;
|
||||
import common.world.State;
|
||||
import common.world.World;
|
||||
import common.world.WorldPos;
|
||||
|
||||
public class BlockBed extends BlockDirectional {
|
||||
public static enum EnumPartType implements Identifyable {
|
|
@ -1,11 +1,11 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
import game.material.Material;
|
||||
import game.model.ParticleType;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.State;
|
||||
import game.world.WorldClient;
|
||||
import common.material.Material;
|
||||
import common.model.ParticleType;
|
||||
import common.rng.Random;
|
||||
import common.world.BlockPos;
|
||||
import common.world.State;
|
||||
import common.world.WorldClient;
|
||||
|
||||
public class BlockBedrock extends Block {
|
||||
public BlockBedrock() {
|
|
@ -1,13 +1,13 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
import game.init.Blocks;
|
||||
import game.init.Config;
|
||||
import game.item.CheatTab;
|
||||
import game.material.Material;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.State;
|
||||
import game.world.WorldServer;
|
||||
import common.init.Blocks;
|
||||
import common.init.Config;
|
||||
import common.item.CheatTab;
|
||||
import common.material.Material;
|
||||
import common.rng.Random;
|
||||
import common.world.BlockPos;
|
||||
import common.world.State;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public class BlockBlackenedDirt extends Block
|
||||
{
|
|
@ -1,16 +1,16 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
import game.init.Blocks;
|
||||
import game.init.Config;
|
||||
import game.item.CheatTab;
|
||||
import game.item.Item;
|
||||
import game.material.Material;
|
||||
import game.model.Model;
|
||||
import game.model.ModelProvider;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.State;
|
||||
import game.world.WorldServer;
|
||||
import common.init.Blocks;
|
||||
import common.init.Config;
|
||||
import common.item.CheatTab;
|
||||
import common.item.Item;
|
||||
import common.material.Material;
|
||||
import common.model.Model;
|
||||
import common.model.ModelProvider;
|
||||
import common.rng.Random;
|
||||
import common.world.BlockPos;
|
||||
import common.world.State;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public class BlockBlackenedSoil extends Block
|
||||
{
|
|
@ -1,12 +1,12 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
import game.init.Blocks;
|
||||
import game.init.ItemRegistry;
|
||||
import game.item.CheatTab;
|
||||
import game.item.Item;
|
||||
import game.material.Material;
|
||||
import game.rng.Random;
|
||||
import game.world.State;
|
||||
import common.init.Blocks;
|
||||
import common.init.ItemRegistry;
|
||||
import common.item.CheatTab;
|
||||
import common.item.Item;
|
||||
import common.material.Material;
|
||||
import common.rng.Random;
|
||||
import common.world.State;
|
||||
|
||||
public class BlockBlackenedStone extends Block {
|
||||
public BlockBlackenedStone() {
|
|
@ -1,14 +1,14 @@
|
|||
package game.block;
|
||||
package common.block;
|
||||
|
||||
import game.init.Blocks;
|
||||
import game.init.Config;
|
||||
import game.model.Model;
|
||||
import game.model.ModelProvider;
|
||||
import game.rng.Random;
|
||||
import game.world.BlockPos;
|
||||
import game.world.State;
|
||||
import game.world.World;
|
||||
import game.world.WorldServer;
|
||||
import common.init.Blocks;
|
||||
import common.init.Config;
|
||||
import common.model.Model;
|
||||
import common.model.ModelProvider;
|
||||
import common.rng.Random;
|
||||
import common.world.BlockPos;
|
||||
import common.world.State;
|
||||
import common.world.World;
|
||||
import common.world.WorldServer;
|
||||
|
||||
public class BlockBlueShroom extends BlockBush
|
||||
{
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue