This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.src; | |
public class EntityGrenade extends EntityItem | |
{ | |
public EntityGrenade(World world) | |
{ | |
super(world); | |
setSize(0.5F, 0.5F); | |
yOffset = height / 2.0F; | |
bounceFactor = 0.75; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.src; | |
public class ItemGrenade extends Item | |
{ | |
public ItemGrenade(int itemIndex) | |
{ | |
super(itemIndex); | |
setIconIndex(30); | |
// Recipe is gunpowder encased in iron |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Conversion - Convert temp from C to F | |
// F= C * (212 - 32)/100 +32 | |
// | |
#include <cstdio> | |
#include <cstdlib> | |
#include <iostream> | |
using namespace std; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.src; | |
public class ModelMob extends ModelBiped | |
{ | |
public ModelMob() | |
{ | |
super(1, 0.0F); | |
} | |
public void render(float f, float f1, float f2, float f3, float f4, float f5) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.src; | |
public class ItemNpcrod extends Item | |
public ItemSoup (int i, int j) | |
{ | |
super(i); | |
maxStackSize = 64; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.src; | |
public class EntityPopite extends EntityAnimals | |
{ | |
public EntityPopite(World world) | |
{ | |
super(world); | |
texture = "/mob/Popite.png"; | |
setSize(0.9F, 1.3F); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.src; | |
import java.util.*; | |
import java.util.Map; | |
public class mod_Popite extends BaseMod | |
{ | |
public mod_Popite() | |
{ | |
ModLoader.RegisterEntityID(EntityPopite.class, "Popite", ModLoader.getUniqueEntityId()); //This registers the entity |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.src; | |
public class mod_NpcrodItem extends BaseMod | |
public mod_npcrodItem() | |
{ | |
ModLoader.AddName(npcrodItem, "Npc Rod"); | |
} | |
public static final Item NpcrodItem; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.minecraft.src; | |
public class RenderPopite extends RenderLiving | |
{ | |
public RenderPopite(ModelBase modelbase, float f) | |
{ | |
super(modelbase, f); | |
} |