public class ItemPluggableSimple extends ItemBC_Neptune implements IItemPluggable
| Modifier and Type | Class and Description |
|---|---|
static interface |
ItemPluggableSimple.IPlacementPredicate |
| Modifier and Type | Field and Description |
|---|---|
static ItemPluggableSimple.IPlacementPredicate |
PIPE_BEHAVIOUR_ACCEPTS_RS_POWER
Returns true if the
IPipeHolder's
PipeBehaviour.getCapability(net.minecraftforge.common.capabilities.Capability, EnumFacing) returns a
non-null value for MjAPI.CAP_REDSTONE_RECEIVER. |
id| Constructor and Description |
|---|
ItemPluggableSimple(java.lang.String id,
PluggableDefinition definition) |
ItemPluggableSimple(java.lang.String id,
PluggableDefinition definition,
ItemPluggableSimple.IPlacementPredicate canPlace) |
ItemPluggableSimple(java.lang.String id,
PluggableDefinition definition,
PluggableDefinition.IPluggableCreator creator) |
ItemPluggableSimple(java.lang.String id,
PluggableDefinition definition,
PluggableDefinition.IPluggableCreator creator,
ItemPluggableSimple.IPlacementPredicate canPlace) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addSubItems, getSubItems, idaddInformation, addPropertyOverride, 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, getItemStackDisplayName, 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, waitaddModelVariants, addVariant, init, registerVariantspublic static final ItemPluggableSimple.IPlacementPredicate PIPE_BEHAVIOUR_ACCEPTS_RS_POWER
IPipeHolder's
PipeBehaviour.getCapability(net.minecraftforge.common.capabilities.Capability, EnumFacing) returns a
non-null value for MjAPI.CAP_REDSTONE_RECEIVER.public ItemPluggableSimple(java.lang.String id,
PluggableDefinition definition,
PluggableDefinition.IPluggableCreator creator,
@Nullable
ItemPluggableSimple.IPlacementPredicate canPlace)
public ItemPluggableSimple(java.lang.String id,
PluggableDefinition definition,
@Nullable
ItemPluggableSimple.IPlacementPredicate canPlace)
public ItemPluggableSimple(java.lang.String id,
PluggableDefinition definition,
@Nonnull
PluggableDefinition.IPluggableCreator creator)
public ItemPluggableSimple(java.lang.String id,
PluggableDefinition definition)
public 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 on