public class ItemBlockChiseled extends net.minecraft.item.ItemBlock implements IVoxelBlobItem, IItemScrollWheel, PacketAccurateSneakPlace.IItemBlockAccurate
Constructor and Description |
---|
ItemBlockChiseled(net.minecraft.block.Block block) |
Modifier and Type | Method and Description |
---|---|
void |
addInformation(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer playerIn,
java.util.List<java.lang.String> tooltip,
boolean advanced) |
boolean |
canPlaceBlockHere(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack stack) |
boolean |
canPlaceBlockOnSide(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack stack) |
net.minecraft.util.EnumActionResult |
doItemUse(net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer playerIn,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ) |
java.lang.String |
getItemStackDisplayName(net.minecraft.item.ItemStack stack) |
net.minecraft.util.EnumActionResult |
onItemUse(net.minecraft.entity.player.EntityPlayer playerIn,
net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing side,
float hitX,
float hitY,
float hitZ) |
boolean |
placeBlockAt(net.minecraft.item.ItemStack stack,
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.block.state.IBlockState newState) |
void |
rotate(net.minecraft.item.ItemStack stack,
int rotationDirection) |
void |
scroll(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack stack,
int dwheel) |
static boolean |
tryPlaceBlockAt(net.minecraft.block.Block block,
net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
net.minecraft.util.EnumHand hand,
net.minecraft.util.math.BlockPos partial,
boolean modulateWorld) |
boolean |
vanillaStylePlacementTest(net.minecraft.world.World worldIn,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack stack) |
getBlock, getCreativeTab, getSubItems, getUnlocalizedName, getUnlocalizedName, setTileEntityNBT
addPropertyOverride, canApplyAtEnchantingTable, canDestroyBlockInCreative, canHarvestBlock, canHarvestBlock, canItemEditBlocks, createEntity, doesSneakBypassUse, func_190903_i, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getByNameOrId, getContainerItem, getContainerItem, getCreativeTabs, getDamage, getDurabilityForDisplay, getEntityLifespan, getFontRenderer, getHarvestLevel, getHasSubtypes, getHighlightTip, getIdFromItem, getIsRepairable, getItemAttributeModifiers, getItemById, getItemEnchantability, getItemEnchantability, getItemFromBlock, getItemStackLimit, getItemStackLimit, getItemUseAction, getMaxDamage, getMaxDamage, getMaxItemUseDuration, getMetadata, getMetadata, getNBTShareTag, getPropertyGetter, getRarity, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getStrVsBlock, getToolClasses, getUnlocalizedNameInefficiently, hasContainerItem, hasContainerItem, hasCustomEntity, hasCustomProperties, hasEffect, hitEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamageable, isDamaged, isFull3D, isItemTool, 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, updateItemStackNBT
public void addInformation(net.minecraft.item.ItemStack stack, net.minecraft.entity.player.EntityPlayer playerIn, java.util.List<java.lang.String> tooltip, boolean advanced)
addInformation
in class net.minecraft.item.ItemBlock
public boolean canPlaceBlockOnSide(net.minecraft.world.World worldIn, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumFacing side, net.minecraft.entity.player.EntityPlayer player, net.minecraft.item.ItemStack stack)
canPlaceBlockOnSide
in class net.minecraft.item.ItemBlock
public boolean vanillaStylePlacementTest(@Nonnull net.minecraft.world.World worldIn, @Nonnull net.minecraft.util.math.BlockPos pos, @Nonnull net.minecraft.util.EnumFacing side, net.minecraft.entity.player.EntityPlayer player, net.minecraft.item.ItemStack stack)
public boolean canPlaceBlockHere(@Nonnull net.minecraft.world.World worldIn, @Nonnull net.minecraft.util.math.BlockPos pos, @Nonnull net.minecraft.util.EnumFacing side, net.minecraft.entity.player.EntityPlayer player, net.minecraft.item.ItemStack stack)
public net.minecraft.util.EnumActionResult onItemUse(net.minecraft.entity.player.EntityPlayer playerIn, net.minecraft.world.World worldIn, 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.ItemBlock
public net.minecraft.util.EnumActionResult doItemUse(net.minecraft.item.ItemStack stack, net.minecraft.entity.player.EntityPlayer playerIn, net.minecraft.world.World worldIn, net.minecraft.util.math.BlockPos pos, net.minecraft.util.EnumHand hand, net.minecraft.util.EnumFacing side, float hitX, float hitY, float hitZ)
doItemUse
in interface PacketAccurateSneakPlace.IItemBlockAccurate
public boolean placeBlockAt(net.minecraft.item.ItemStack stack, 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.block.state.IBlockState newState)
placeBlockAt
in class net.minecraft.item.ItemBlock
public static boolean tryPlaceBlockAt(@Nonnull net.minecraft.block.Block block, @Nonnull net.minecraft.item.ItemStack stack, @Nonnull net.minecraft.entity.player.EntityPlayer player, @Nonnull net.minecraft.world.World world, @Nonnull net.minecraft.util.math.BlockPos pos, @Nonnull net.minecraft.util.EnumFacing side, @Nonnull net.minecraft.util.EnumHand hand, net.minecraft.util.math.BlockPos partial, boolean modulateWorld)
public java.lang.String getItemStackDisplayName(net.minecraft.item.ItemStack stack)
getItemStackDisplayName
in class net.minecraft.item.Item
public void scroll(net.minecraft.entity.player.EntityPlayer player, net.minecraft.item.ItemStack stack, int dwheel)
scroll
in interface IItemScrollWheel
public void rotate(net.minecraft.item.ItemStack stack, int rotationDirection)
rotate
in interface IVoxelBlobItem