public class ItemPluggableFacade extends ItemBC_Neptune implements IItemPluggable, IFacadeItem
id| Constructor and Description |
|---|
ItemPluggableFacade(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
java.util.List<java.lang.String> tooltip,
net.minecraft.client.util.ITooltipFlag flag) |
void |
addSubItems(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> subItems)
Identical to
ItemBC_Neptune.getSubItems(CreativeTabs, NonNullList) in every way, EXCEPT that this is only called if
this is actually in the given creative tab. |
net.minecraft.item.ItemStack |
createFacadeStack(IFacade facade) |
net.minecraft.item.ItemStack |
createItemStack(FacadeInstance state) |
IFacade |
getFacade(net.minecraft.item.ItemStack facade) |
net.minecraft.item.ItemStack |
getFacadeForBlock(net.minecraft.block.state.IBlockState state) |
static java.lang.String |
getFacadeStateDisplayName(FacadePhasedState state) |
java.lang.String |
getItemStackDisplayName(net.minecraft.item.ItemStack stack) |
static FacadeInstance |
getStates(net.minecraft.item.ItemStack item) |
PipePluggable |
onPlace(net.minecraft.item.ItemStack stack,
IPipeHolder holder,
net.minecraft.util.EnumFacing side,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
Called when this item is placed onto a pipe holder.
|
getSubItems, idaddPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canDisableShield, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getCreatorModId, getDamage, getDefaultInstance, getDestroySpeed, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemBurnTime, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isEnchantable, isFull3D, isInCreativeTab, isMap, isRepairable, isShield, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemRightClick, onItemUse, onItemUseFinish, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, rayTrace, registerItemBlock, registerItems, renderHelmetOverlay, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setUnlocalizedName, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, shouldRotateAroundWhenRendering, showDurabilityBar, updateItemStackNBTgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFacadeTypeaddModelVariants, addVariant, init, registerVariants@Nonnull public net.minecraft.item.ItemStack createItemStack(FacadeInstance state)
public static FacadeInstance getStates(@Nonnull net.minecraft.item.ItemStack item)
@Nonnull public net.minecraft.item.ItemStack getFacadeForBlock(net.minecraft.block.state.IBlockState state)
getFacadeForBlock in interface IFacadeItempublic PipePluggable onPlace(@Nonnull net.minecraft.item.ItemStack stack, IPipeHolder holder, net.minecraft.util.EnumFacing side, net.minecraft.entity.player.EntityPlayer player, net.minecraft.util.EnumHand hand)
IItemPluggableonPlace in interface IItemPluggablestack - The stack that holds this itemholder - The pipe holderside - The side that the pluggable should be placed onpublic void addSubItems(net.minecraft.creativetab.CreativeTabs tab,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> subItems)
ItemBC_NeptuneItemBC_Neptune.getSubItems(CreativeTabs, NonNullList) in every way, EXCEPT that this is only called if
this is actually in the given creative tab.addSubItems in class ItemBC_Neptunetab - The CreativeTabs to display the items in. This is provided just in case an item has multiple
subtypes, split across different tabspublic java.lang.String getItemStackDisplayName(net.minecraft.item.ItemStack stack)
getItemStackDisplayName in class net.minecraft.item.Itempublic static java.lang.String getFacadeStateDisplayName(FacadePhasedState state)
public void addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.world.World world,
java.util.List<java.lang.String> tooltip,
net.minecraft.client.util.ITooltipFlag flag)
addInformation in class net.minecraft.item.Itempublic net.minecraft.item.ItemStack createFacadeStack(IFacade facade)
createFacadeStack in interface IFacadeItemfacade - The IFacade instance. NOTE: This MUST be an object returned from
IFacadeRegistry.createBasicFacade(IFacadeState, boolean) or
IFacadeRegistry.createPhasedFacade(IFacadePhasedState[], boolean), otherwise a
ClassCastException will be thrown!public IFacade getFacade(net.minecraft.item.ItemStack facade)
getFacade in interface IFacadeItem