Class MurasamaItem
java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.TieredItem
net.minecraft.world.item.SwordItem
com.idark.valoria.registries.item.types.KatanaItem
com.idark.valoria.registries.item.types.MurasamaItem
- All Implemented Interfaces:
ICooldownItem
,IParticleItem
,net.minecraft.world.flag.FeatureElement
,net.minecraft.world.item.Vanishable
,net.minecraft.world.level.ItemLike
,net.minecraftforge.common.extensions.IForgeItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.Item
net.minecraft.world.item.Item.Properties
-
Field Summary
Fields inherited from class com.idark.valoria.registries.item.types.KatanaItem
chance, defaultModifiers, effects
Fields inherited from class net.minecraft.world.item.Item
BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, BY_BLOCK, canRepair, EAT_DURATION, MAX_BAR_WIDTH, MAX_STACK_SIZE
Fields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES
-
Constructor Summary
ConstructorDescriptionMurasamaItem
(net.minecraft.world.item.Tier tier, int attackDamageIn, float attackSpeedIn, net.minecraft.world.item.Item.Properties builderIn) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCharge
(net.minecraft.world.item.ItemStack stack, int charge) void
addParticles
(net.minecraft.world.level.Level level, net.minecraft.world.entity.item.ItemEntity entity) static int
getCharge
(net.minecraft.world.item.ItemStack stack) void
onUseTick
(@NotNull net.minecraft.world.level.Level worldIn, @NotNull net.minecraft.world.entity.LivingEntity livingEntityIn, @NotNull net.minecraft.world.item.ItemStack stack, int count) void
releaseUsing
(@NotNull net.minecraft.world.item.ItemStack stack, @NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.world.entity.LivingEntity entityLiving, int timeLeft) Some sounds taken from the CalamityMod (Terraria) in a Calamity Mod Wiki.ggstatic void
setCharge
(net.minecraft.world.item.ItemStack stack, int charge) boolean
shouldCauseReequipAnimation
(net.minecraft.world.item.ItemStack oldStack, net.minecraft.world.item.ItemStack newStack, boolean slotChanged) @NotNull net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack>
use
(@NotNull net.minecraft.world.level.Level worldIn, net.minecraft.world.entity.player.Player playerIn, @NotNull net.minecraft.world.InteractionHand handIn) Some sounds taken from the CalamityMod (Terraria) in a Calamity Mod Wiki.ggMethods inherited from class com.idark.valoria.registries.item.types.KatanaItem
appendHoverText, distance, getDefaultAttributeModifiers, getUseDuration, mineBlock
Methods inherited from class net.minecraft.world.item.SwordItem
canAttackBlock, canPerformAction, getDamage, getDestroySpeed, hurtEnemy, isCorrectToolForDrops
Methods inherited from class net.minecraft.world.item.TieredItem
getEnchantmentValue, getTier, isValidRepairItem
Methods inherited from class net.minecraft.world.item.Item
asItem, builtInRegistryHolder, byBlock, byId, canBeDepleted, canBeHurtBy, canFitInsideContainerItems, finishUsingItem, getBarColor, getBarWidth, getCraftingRemainingItem, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDrinkingSound, getEatingSound, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getRenderPropertiesInternal, getTooltipImage, getUseAnimation, hasCraftingRemainingItem, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, onCraftedBy, onDestroyed, overrideOtherStackedOnMe, overrideStackedOnOther, requiredFeatures, shouldOverrideMultiplayerNbt, toString, useOn, useOnRelease, verifyTagAfterLoad
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabled
Methods inherited from interface net.minecraftforge.common.extensions.IForgeItem
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canGrindstoneRepair, canWalkOnPowderedSnow, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getAllEnchantments, getArmorTexture, getAttributeModifiers, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDamage, getDefaultTooltipHideFlags, getEnchantmentLevel, getEnchantmentValue, getEntityLifespan, getEquipmentSlot, getFoodProperties, getHighlightTip, getMaxDamage, getMaxStackSize, getShareTag, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, hasCustomEntity, initCapabilities, isBookEnchantable, isCorrectToolForDrops, isDamageable, isDamaged, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onInventoryTick, onItemUseFirst, onLeftClickEntity, onStopUsing, readShareTag, setDamage, shouldCauseBlockBreakReset
-
Constructor Details
-
MurasamaItem
public MurasamaItem(net.minecraft.world.item.Tier tier, int attackDamageIn, float attackSpeedIn, net.minecraft.world.item.Item.Properties builderIn)
-
-
Method Details
-
use
@NotNull public @NotNull net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack> use(@NotNull @NotNull net.minecraft.world.level.Level worldIn, net.minecraft.world.entity.player.Player playerIn, @NotNull @NotNull net.minecraft.world.InteractionHand handIn) Some sounds taken from the CalamityMod (Terraria) in a Calamity Mod Wiki.gg- Overrides:
use
in classKatanaItem
-
onUseTick
public void onUseTick(@NotNull @NotNull net.minecraft.world.level.Level worldIn, @NotNull @NotNull net.minecraft.world.entity.LivingEntity livingEntityIn, @NotNull @NotNull net.minecraft.world.item.ItemStack stack, int count) - Overrides:
onUseTick
in classnet.minecraft.world.item.Item
-
shouldCauseReequipAnimation
public boolean shouldCauseReequipAnimation(net.minecraft.world.item.ItemStack oldStack, net.minecraft.world.item.ItemStack newStack, boolean slotChanged) - Specified by:
shouldCauseReequipAnimation
in interfacenet.minecraftforge.common.extensions.IForgeItem
-
releaseUsing
public void releaseUsing(@NotNull @NotNull net.minecraft.world.item.ItemStack stack, @NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.world.entity.LivingEntity entityLiving, int timeLeft) Some sounds taken from the CalamityMod (Terraria) in a Calamity Mod Wiki.gg- Overrides:
releaseUsing
in classKatanaItem
-
getCharge
public static int getCharge(net.minecraft.world.item.ItemStack stack) -
setCharge
public static void setCharge(net.minecraft.world.item.ItemStack stack, int charge) -
addCharge
public static void addCharge(net.minecraft.world.item.ItemStack stack, int charge) -
addParticles
public void addParticles(net.minecraft.world.level.Level level, net.minecraft.world.entity.item.ItemEntity entity) - Specified by:
addParticles
in interfaceIParticleItem
-