public class LargeDoorItem extends ConfigurableItem
LargeDoor.eConfig| Modifier and Type | Method and Description |
|---|---|
static LargeDoorItem |
getInstance()
Get the unique instance.
|
static void |
initInstance(ExtendedConfig<ItemConfig> eConfig)
Initialise the configurable.
|
boolean |
onItemUse(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
int x,
int y,
int z,
int side,
float coordX,
float coordY,
float coordZ) |
static void |
placeDoorBlock(net.minecraft.world.World world,
int x,
int y,
int z,
int side,
net.minecraft.block.Block block)
Place a door block.
|
addInformation, getConfig, getIconString, registerIconscanHarvestBlock, canItemEditBlocks, createEntity, doesContainerItemLeaveCraftingGrid, doesSneakBypassUse, func_150893_a, func_150897_b, getArmorModel, getArmorTexture, getAttributeModifiers, getChestGenBase, getColorFromItemStack, getContainerItem, getContainerItem, getCreativeTab, getCreativeTabs, getDamage, getDigSpeed, getDisplayDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getIcon, getIcon, getIconFromDamage, getIconFromDamageForRenderPass, getIconIndex, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackDisplayName, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMovingObjectPositionFromPlayer, getPotionEffect, getRarity, getRenderPasses, getShareTag, getSmeltingExperience, getSpriteNumber, getSubItems, getToolClasses, getUnlocalizedName, getUnlocalizedName, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasEffect, hasEffect, hitEntity, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, isMap, isPotionIngredient, isRepairable, isValidArmor, itemInteractionForEntity, onArmorTick, onBlockDestroyed, onBlockStartBreak, onCreated, onDroppedByPlayer, onEaten, onEntityItemUpdate, onEntitySwing, onItemRightClick, onItemUseFirst, onLeftClickEntity, onPlayerStoppedUsing, onUpdate, onUsingTick, registerItems, renderHelmetOverlay, requiresMultipleRenderPasses, setContainerItem, setCreativeTab, setDamage, setFull3D, setHarvestLevel, setHasSubtypes, setMaxDamage, setMaxStackSize, setNoRepair, setPotionEffect, setTextureName, setUnlocalizedName, shouldRotateAroundWhenRendering, showDurabilityBarpublic static void initInstance(ExtendedConfig<ItemConfig> eConfig)
eConfig - The config.public static LargeDoorItem getInstance()
public boolean onItemUse(net.minecraft.item.ItemStack itemStack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
int x,
int y,
int z,
int side,
float coordX,
float coordY,
float coordZ)
onItemUse in class net.minecraft.item.Itempublic static void placeDoorBlock(net.minecraft.world.World world,
int x,
int y,
int z,
int side,
net.minecraft.block.Block block)
world - The world.x - X coordinate.y - Y coordinate.z - Z coordinate.side - The side placed at.block - The block ID to place.