public class ItemWallOrFloor extends ItemBlock
Item.Properties
Modifier and Type | Field and Description |
---|---|
protected Block |
wallBlock |
ATTACK_DAMAGE_MODIFIER, ATTACK_SPEED_MODIFIER, BLOCK_TO_ITEM, canRepair, group, properties, random
delegate
Constructor and Description |
---|
ItemWallOrFloor(Block floorBlock,
Block wallBlockIn,
Item.Properties p_i48462_3_) |
Modifier and Type | Method and Description |
---|---|
void |
addToBlockToItemMap(java.util.Map<Block,Item> blockToItemMap,
Item itemIn) |
protected IBlockState |
getStateForPlacement(BlockItemUseContext p_195945_1_) |
addInformation, canPlace, fillItemGroup, getBlock, getTranslationKey, onBlockPlaced, onItemUse, placeBlock, setTileEntityNBT, tryPlace
addPropertyOverride, asItem, canHarvestBlock, canPlayerBreakBlockWhileHolding, getAttributeModifiers, getContainerItem, getDefaultInstance, getDefaultTranslationKey, getDestroySpeed, getDisplayName, getGroup, getHarvestLevel, getIdFromItem, getIsRepairable, getItemById, getItemEnchantability, getItemFromBlock, getMaxDamage, getMaxStackSize, getName, getPropertyGetter, getRarity, getShareTag, getTileEntityItemStackRenderer, getToolTypes, getTranslationKey, getUseAction, getUseDuration, hasContainerItem, hasCustomProperties, hasEffect, hitEntity, inventoryTick, isComplex, isDamageable, isEnchantable, isIn, isInGroup, isRepairable, itemInteractionForEntity, onBlockDestroyed, onCreated, onItemRightClick, onItemUseFinish, onPlayerStoppedUsing, rayTrace, register, registerItems, updateItemStackNBT
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canEquip, canHarvestBlock, createEntity, doesSneakBypassUse, getAnimationParameters, getArmorModel, getArmorTexture, getAttributeModifiers, getBurnTime, getContainerItem, getCreativeTabs, getCreatorModId, getDamage, getDurabilityForDisplay, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getHorseArmorType, getItem, getItemEnchantability, getItemStackLimit, getMaxDamage, getRGBDurabilityForDisplay, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBeaconPayment, isBookEnchantable, isDamaged, isShield, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, showDurabilityBar
protected final Block wallBlock
public ItemWallOrFloor(Block floorBlock, Block wallBlockIn, Item.Properties p_i48462_3_)
@Nullable protected IBlockState getStateForPlacement(BlockItemUseContext p_195945_1_)
getStateForPlacement
in class ItemBlock
public void addToBlockToItemMap(java.util.Map<Block,Item> blockToItemMap, Item itemIn)
addToBlockToItemMap
in class ItemBlock