public class MalisisItemBlock extends net.minecraft.item.ItemBlock implements IRegisterable, IComponentProvider
| Constructor and Description |
|---|
MalisisItemBlock(MalisisBlock block) |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(IComponent component)
Adds the
IBlockComponent to this IComponentProvider. |
boolean |
canPlaceBlockOnSide(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack itemStack) |
java.util.List<IComponent> |
getComponents()
Gets the
IBlockComponent for this IComponentProvider. |
boolean |
getHasSubtypes()
Checks whether the associated
MalisisItem has subtypes. |
int |
getMetadata(int damage) |
java.lang.String |
getName()
Gets the registry name to use.
|
java.lang.String |
getUnlocalizedName(net.minecraft.item.ItemStack itemStack) |
net.minecraft.util.EnumActionResult |
onItemUse(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ) |
addInformation, getBlock, getCreativeTab, getSubItems, getUnlocalizedName, placeBlockAt, setTileEntityNBTaddPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTabs, getDamage, getDefaultInstance, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, 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, onItemRightClick, 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, waitgetItem, registergetComponentpublic MalisisItemBlock(MalisisBlock block)
public java.lang.String getName()
IRegisterablegetName in interface IRegisterablepublic void addComponent(IComponent component)
IComponentProviderIBlockComponent to this IComponentProvider.addComponent in interface IComponentProvidercomponent - the componentpublic java.util.List<IComponent> getComponents()
IComponentProviderIBlockComponent for this IComponentProvider.getComponents in interface IComponentProviderpublic java.lang.String getUnlocalizedName(net.minecraft.item.ItemStack itemStack)
getUnlocalizedName in class net.minecraft.item.ItemBlockpublic int getMetadata(int damage)
getMetadata in class net.minecraft.item.Itempublic net.minecraft.util.EnumActionResult onItemUse(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ)
onItemUse in class net.minecraft.item.ItemBlockpublic boolean canPlaceBlockOnSide(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack itemStack)
canPlaceBlockOnSide in class net.minecraft.item.ItemBlockpublic boolean getHasSubtypes()
MalisisItem has subtypes.getHasSubtypes in class net.minecraft.item.Item