Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Client/src/pixelmon/PixelmonIDList.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ public class PixelmonIDList {
public static int mareepId;
public static int solrockId;
public static int lunatoneId;

public static int tentacoolId;
public static int tentacruelId;


public static int i=0;
Expand Down Expand Up @@ -128,5 +129,11 @@ public static void load(Configuration configuration) {
vibravaId = Integer.parseInt(configuration.getOrCreateIntProperty("Vibrava", "pokemon", i++).value);
mareepId = Integer.parseInt(configuration.getOrCreateIntProperty("Mareep", "pokemon", i++).value);
dratiniId = Integer.parseInt(configuration.getOrCreateIntProperty("Dratini", "pokemon", i++).value);
lunatoneId = Integer.parseInt(configuration.getOrCreateIntProperty("Lunatone", "pokemon", i++).value);
solrockId = Integer.parseInt(configuration.getOrCreateIntProperty("Solrock", "pokemon", i++).value);
tentacoolId = Integer.parseInt(configuration.getOrCreateIntProperty("Tentacool", "pokemon", i++).value);
//tentacruelId = Integer.parseInt(configuration.getOrCreateIntProperty("Tentacruel", "pokemon", i++).value);


}
}
42 changes: 42 additions & 0 deletions Client/src/pixelmon/Pokemon/EntityLunatone.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
package pixelmon.Pokemon;

import pixelmon.entities.BaseEntityPixelmon;
import pixelmon.entities.EntityGroundPixelmon;
import net.minecraft.src.World;

public class EntityLunatone extends EntityGroundPixelmon
{

public EntityLunatone(World world)
{
super(world);
texture = "/pixelmon/image/lunatone.png";
init();
}

public void init()
{
name = "Lunatone";
isImmuneToFire = false;
doesHover = true;
hoverHeight=1f;
super.init();
}

public void evolve()
{

}

public boolean getCanSpawnHere()
{
if(!worldObj.isDaytime() ) {
return true;
}

return false;
}

}


47 changes: 47 additions & 0 deletions Client/src/pixelmon/Pokemon/EntitySolrock.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
package pixelmon.Pokemon;

import pixelmon.entities.BaseEntityPixelmon;
import pixelmon.entities.EntityGroundPixelmon;
import net.minecraft.src.World;

public class EntitySolrock extends EntityGroundPixelmon
{

public EntitySolrock(World world)
{
super(world);
texture = "/pixelmon/image/solrock.png";
init();
}

public void init()
{
name = "Solrock";
isImmuneToFire = true;
doesHover = true;
hoverHeight=1f;
super.init();
}

public void evolve()
{

}

public boolean getCanSpawnHere()
{
if(worldObj.isDaytime() ) {
return true;
}

return false;
}








}
Loading