public class ChromaticCompoundItem
extends net.minecraft.item.Item
| Constructor and Description |
|---|
ChromaticCompoundItem(net.minecraft.item.Item.Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkLight(net.minecraft.item.ItemStack stack,
net.minecraft.entity.item.ItemEntity entity,
net.minecraft.world.World world,
net.minecraft.nbt.CompoundNBT itemData,
net.minecraft.util.math.vector.Vector3d positionVec,
net.minecraft.util.math.BlockPos randomOffset,
net.minecraft.block.BlockState state) |
double |
getDurabilityForDisplay(net.minecraft.item.ItemStack stack) |
int |
getItemStackLimit(net.minecraft.item.ItemStack stack) |
int |
getRGBDurabilityForDisplay(net.minecraft.item.ItemStack stack) |
boolean |
onEntityItemUpdate(net.minecraft.item.ItemStack stack,
net.minecraft.entity.item.ItemEntity entity) |
boolean |
shouldOverrideMultiplayerNbt() |
boolean |
showDurabilityBar(net.minecraft.item.ItemStack stack) |
allowdedIn, appendHoverText, asItem, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, fillItemCategory, finishUsingItem, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, 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, toString, use, useOn, 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, getEntityLifespan, getEquipmentSlot, getFontRenderer, getHighlightTip, getItem, getItemEnchantability, getMaxDamage, getShareTag, getSmeltingExperience, getXpRepairRatio, hasContainerItem, hasCustomEntity, initCapabilities, isBookEnchantable, isDamageable, isDamaged, isEnderMask, isPiglinCurrency, isShield, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDroppedByPlayer, onEntitySwing, onHorseArmorTick, onItemUseFirst, onLeftClickEntity, onUsingTick, readShareTag, renderHelmetOverlay, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimationpublic ChromaticCompoundItem(net.minecraft.item.Item.Properties properties)
public boolean shouldOverrideMultiplayerNbt()
shouldOverrideMultiplayerNbt in class net.minecraft.item.Itempublic double getDurabilityForDisplay(net.minecraft.item.ItemStack stack)
public boolean showDurabilityBar(net.minecraft.item.ItemStack stack)
public int getRGBDurabilityForDisplay(net.minecraft.item.ItemStack stack)
public int getItemStackLimit(net.minecraft.item.ItemStack stack)
public boolean onEntityItemUpdate(net.minecraft.item.ItemStack stack,
net.minecraft.entity.item.ItemEntity entity)
public boolean checkLight(net.minecraft.item.ItemStack stack,
net.minecraft.entity.item.ItemEntity entity,
net.minecraft.world.World world,
net.minecraft.nbt.CompoundNBT itemData,
net.minecraft.util.math.vector.Vector3d positionVec,
net.minecraft.util.math.BlockPos randomOffset,
net.minecraft.block.BlockState state)