public class CogwheelBlockItem
extends net.minecraft.item.BlockItem
| Modifier and Type | Class and Description |
|---|---|
static class |
CogwheelBlockItem.DiagonalCogHelper |
static class |
CogwheelBlockItem.IntegratedLargeCogHelper |
static class |
CogwheelBlockItem.IntegratedSmallCogHelper |
| Constructor and Description |
|---|
CogwheelBlockItem(CogWheelBlock block,
net.minecraft.item.Item.Properties builder) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.ActionResultType |
onItemUseFirst(net.minecraft.item.ItemStack stack,
net.minecraft.item.ItemUseContext context) |
protected boolean |
placeBlock(net.minecraft.item.BlockItemUseContext context,
net.minecraft.block.BlockState state) |
protected void |
triggerShiftingGearsAdvancement(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.entity.player.PlayerEntity player) |
appendHoverText, canPlace, fillItemCategory, getBlock, getDescriptionId, getPlacementState, getPlaceSound, getPlaceSound, mustSurvive, place, registerBlocks, removeFromBlockToItemMap, updateCustomBlockEntityTag, updateCustomBlockEntityTag, updatePlacementContext, useOnallowdedIn, asItem, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, finishUsingItem, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getHarvestLevel, getId, getItemCategory, getItemStackTileEntityRenderer, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTags, getToolTypes, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, is, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, releaseUsing, shouldOverrideMultiplayerNbt, toString, use, useOnRelease, verifyTagAfterLoadgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canHarvestBlock, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBarpublic CogwheelBlockItem(CogWheelBlock block, net.minecraft.item.Item.Properties builder)
public net.minecraft.util.ActionResultType onItemUseFirst(net.minecraft.item.ItemStack stack,
net.minecraft.item.ItemUseContext context)
protected boolean placeBlock(net.minecraft.item.BlockItemUseContext context,
net.minecraft.block.BlockState state)
placeBlock in class net.minecraft.item.BlockItemprotected void triggerShiftingGearsAdvancement(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState state,
net.minecraft.entity.player.PlayerEntity player)