Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.altiscube.deadcook.items;
- import com.altiscube.deadcook.mod.Altiscube;
- import net.minecraft.entity.player.EntityPlayer;
- import net.minecraft.item.Item;
- import net.minecraft.item.ItemStack;
- import net.minecraft.world.World;
- public class ItemZoomer extends Item
- {
- public ItemZoomer()
- {
- super();
- }
- public ItemStack onItemRightClick(ItemStack itemStackIn, World worldIn, EntityPlayer playerIn)
- {
- if(worldIn.isRemote)
- {
- Altiscube.zoom = !Altiscube.zoom;
- }
- return itemStackIn;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement