Package com.hbm_m.powerarmor
Class BismuthArmor
java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.ArmorItem
com.hbm_m.powerarmor.ModArmorFSB
com.hbm_m.powerarmor.ModArmorFSBPowered
com.hbm_m.powerarmor.ModPowerArmorItem
com.hbm_m.powerarmor.BismuthArmor
- All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement,net.minecraft.world.item.Equipable,net.minecraft.world.item.Vanishable,net.minecraft.world.level.ItemLike,net.minecraftforge.common.extensions.IForgeItem
Bismuth Power Armor (ported from 1.7.10 ArmorBismuth/ArmorFSB).
Original gameplay highlights:
- Full set potion buffs: Jump VII, Speed VII, Regeneration II, Night Vision
- 3 dashes
- Full set resist profile:
- Physical: DT=2 / DR=15%
- Fire: DT=5 / DR=50%
- Explosion:DT=5 / DR=25%
- Fall: DT=0 / DR=100%
- Other: DT=2 / DR=25%
In 1.20.1 this is integrated into the existing power armor pipeline (energy, OBJ rendering, DT+DR handler).
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hbm_m.powerarmor.ModPowerArmorItem
ModPowerArmorItem.PowerArmorSoundHandlerNested classes/interfaces inherited from class net.minecraft.world.item.ArmorItem
net.minecraft.world.item.ArmorItem.TypeNested classes/interfaces inherited from class net.minecraft.world.item.Item
net.minecraft.world.item.Item.Properties -
Field Summary
FieldsFields inherited from class com.hbm_m.powerarmor.ModArmorFSBPowered
ARMOR_SLOT_CHEST, ARMOR_SLOT_FEET, ARMOR_SLOT_HEAD, ARMOR_SLOT_LEGS, chargeRate, consumption, drain, maxPowerFields inherited from class com.hbm_m.powerarmor.ModArmorFSB
customGeiger, dashCount, effects, fallSound, hardLanding, hasGeigerSound, jumpSound, noHelmet, stepSize, stepSound, thermal, vatsFields inherited from class net.minecraft.world.item.ArmorItem
DISPENSE_ITEM_BEHAVIOR, knockbackResistance, material, typeFields 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_SIZEFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
ConstructorsConstructorDescriptionBismuthArmor(net.minecraft.world.item.ArmorMaterial material, net.minecraft.world.item.ArmorItem.Type type, net.minecraft.world.item.Item.Properties properties) -
Method Summary
Modifier and TypeMethodDescriptiongetArmorTexture(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.EquipmentSlot slot, String type) У висмутовой брони одна общая текстура (`bismuth.png`), без разбиения на `*_helmet/chest/leg`.Methods inherited from class com.hbm_m.powerarmor.ModPowerArmorItem
extractEnergy, getBarColor, getBarWidth, getDefense, getEnergy, getEquipSound, getMaxDamage, getModifiedCapacity, getRadiationResistance, getSpecs, getToughness, hasFSBArmor, hasFSBArmorIgnoreCharge, hasFullSet, initializeClient, isBarVisible, isDamageable, onArmorTickMethods inherited from class com.hbm_m.powerarmor.ModArmorFSBPowered
appendHoverText, chargeBattery, dischargeBattery, getCharge, getChargeRate, getDischargeRate, getDurabilityForDisplay, getMaxCharge, initCapabilities, isArmorEnabled, setCharge, setDamage, showDurabilityBar, syncEnergyToClientMethods inherited from class com.hbm_m.powerarmor.ModArmorFSB
addEffect, enableThermalSight, enableVATS, handleFall, handleJump, onLivingAttack, onLivingHurt, setDashCount, setFallSound, setHasCustomGeiger, setHasGeigerSound, setHasHardLanding, setJumpSound, setNoHelmet, setOverlay, setStepSize, setStepSound, steppyMethods inherited from class net.minecraft.world.item.ArmorItem
dispenseArmor, getDefaultAttributeModifiers, getEnchantmentValue, getEquipmentSlot, getMaterial, getType, isValidRepairItem, useMethods inherited from class net.minecraft.world.item.Item
asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, canFitInsideContainerItems, finishUsingItem, getCraftingRemainingItem, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getRenderPropertiesInternal, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, interactLivingEntity, inventoryTick, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, mineBlock, onCraftedBy, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, requiredFeatures, shouldOverrideMultiplayerNbt, toString, useOn, useOnRelease, verifyTagAfterLoadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.item.Equipable
swapWithEquipmentSlotMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabledMethods inherited from interface net.minecraftforge.common.extensions.IForgeItem
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canGrindstoneRepair, canPerformAction, canWalkOnPowderedSnow, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getAllEnchantments, getAttributeModifiers, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDamage, getDefaultTooltipHideFlags, getEnchantmentLevel, getEnchantmentValue, getEntityLifespan, getEquipmentSlot, getFoodProperties, getHighlightTip, getMaxStackSize, getShareTag, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, hasCustomEntity, isBookEnchantable, isCorrectToolForDrops, isDamaged, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, makesPiglinsNeutral, onBlockStartBreak, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onInventoryTick, onItemUseFirst, onLeftClickEntity, onStopUsing, readShareTag, shouldCauseBlockBreakReset, shouldCauseReequipAnimation
-
Field Details
-
BISMUTH_SPECS
-
-
Constructor Details
-
BismuthArmor
public BismuthArmor(net.minecraft.world.item.ArmorMaterial material, net.minecraft.world.item.ArmorItem.Type type, net.minecraft.world.item.Item.Properties properties)
-
-
Method Details
-
getArmorTexture
public String getArmorTexture(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.EquipmentSlot slot, String type) У висмутовой брони одна общая текстура (`bismuth.png`), без разбиения на `*_helmet/chest/leg`. Иначе ванильный armor renderer пытается грузить несуществующие файлы и спамит WARN в лог. (Forge/NeoForge: IForgeItem#getArmorTexture; на Fabric рендер через свои хуки.)- Specified by:
getArmorTexturein interfacenet.minecraftforge.common.extensions.IForgeItem- Overrides:
getArmorTexturein classModPowerArmorItem
-