Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.minecraft.src;
- public class mod_alcohol extends BaseMod {
- public mod_alcohol() {
- ModLoader.SetTickInGame(this, true, true);
- }
- public static final Item alcoholItem;
- static
- {
- alcoholItem = (new ItemAlcohol(666, 6)).setIconCoord(5, 5).setItemName("winoItem");
- }
- public String Version()
- {
- return "1";
- }
- public void OnTickInGame(net.minecraft.client.Minecraft game){
- game.thePlayer.kill();
- }
- public void AddRecipes(CraftingManager craftingmanager)
- {
- craftingmanager.addRecipe(new ItemStack(alcoholItem), new Object[]{
- " #", Character.valueOf('#'), Block.dirt
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment