public class ItemSchematicSingle extends ItemBC_Neptune
Modifier and Type | Field and Description |
---|---|
static int |
DAMAGE_CLEAN |
static int |
DAMAGE_USED |
static java.lang.String |
NBT_KEY |
id
Constructor and Description |
---|
ItemSchematicSingle(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
addModelVariants(gnu.trove.map.hash.TIntObjectHashMap<net.minecraft.client.renderer.block.model.ModelResourceLocation> variants)
Sets up all of the model information for this item.
|
int |
getItemStackLimit(net.minecraft.item.ItemStack stack) |
static ISchematicBlock |
getSchematic(net.minecraft.item.ItemStack stack) |
static ISchematicBlock |
getSchematicSafe(net.minecraft.item.ItemStack stack) |
net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> |
onItemRightClick(net.minecraft.world.World world,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand) |
net.minecraft.util.EnumActionResult |
onItemUseFirst(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ,
net.minecraft.util.EnumHand hand) |
id
addInformation, addPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDefaultInstance, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getStrVsBlock, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isMap, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUse, onItemUseFinish, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addVariant, init, postRegisterClient
public static final int DAMAGE_CLEAN
public static final int DAMAGE_USED
public static final java.lang.String NBT_KEY
public int getItemStackLimit(net.minecraft.item.ItemStack stack)
getItemStackLimit
in class net.minecraft.item.Item
public void addModelVariants(gnu.trove.map.hash.TIntObjectHashMap<net.minecraft.client.renderer.block.model.ModelResourceLocation> variants)
IItemBuildCraft
IItemBuildCraft.addVariant(TIntObjectHashMap, int, String)
to help get
everything correct.public net.minecraft.util.ActionResult<net.minecraft.item.ItemStack> onItemRightClick(net.minecraft.world.World world, net.minecraft.entity.player.EntityPlayer player, net.minecraft.util.EnumHand hand)
onItemRightClick
in class net.minecraft.item.Item
public net.minecraft.util.EnumActionResult onItemUseFirst(net.minecraft.entity.player.EntityPlayer player, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing side, float hitX, float hitY, float hitZ, net.minecraft.util.EnumHand hand)
onItemUseFirst
in class net.minecraft.item.Item
public static ISchematicBlock getSchematic(@Nonnull net.minecraft.item.ItemStack stack) throws InvalidInputDataException
InvalidInputDataException
public static ISchematicBlock getSchematicSafe(@Nonnull net.minecraft.item.ItemStack stack)