Package johnsmith.enchantmentcore.api.enchantment.effect
package johnsmith.enchantmentcore.api.enchantment.effect
-
ClassDescriptionAn
EnchantmentEntityEffectthat generates a localized gravitational impulse field and inflicts area-of-effect damage around the target entity.Data-driven enchantment effect component that automatically smelts block drops using activeRecipeType.SMELTINGrecipes when breaking blocks.Data-driven enchantment effect component that grants a probability to roll bonus item drops and experience orbs when breaking blocks matching a specifiedHolderSet.Data-driven enchantment effect component that modifies the draw time required for aBowItemto reach full power.Data-driven enchantment effect component that prevents an entity from passively sinking while submerged in water or lava, and optionally scales block mining speed while floating in fluids.Data-driven enchantment effect component that enables aLivingEntityto climb vertical block surfaces similar to a spider or ladder.Data-driven enchantment effect component that restores health or grants absorption hearts to an attacker proportional to the amount of combat damage dealt (life-steal / leech mechanic).AnEnchantmentEntityEffectthat forces a targetLivingEntityto unequip and drop items from specifiedEquipmentSlots into the world with a 40-tick pickup delay.Data-driven enchantment effect component that multiplies the experience orbs dropped from breaking blocks (including auto-smelted block drops) and killing living entities.Reusable data-driven configuration record describing the parameters of an explosion triggered byExplosionEffectorExplodeEffect.Serializable representation of vanillaLevel.ExplosionInteractionblock interaction behaviors.Dual-purpose enchantment effect implementing bothEnchantmentEntityEffectandEnchantmentLocationBasedEffectthat triggers an explosion defined by anExplosionDefinitionwhen a random roll succeeds againstExplosionEffect.chance().A data-driven record defining an enchantment component effect that modifies fog/visibility when the player is submerged in certain fluids.Contract defining the operational parameters for a fluid-walking enchantment effect.Standard record implementation ofFluidWalkerDefinitionenabling entities to stand and walk atop specified fluid blocks without modifying world block states.AnEnchantmentEntityEffectthat restores health points or grants temporary absorption hearts to a targetLivingEntity.AnEnchantmentEntityEffectthat modifies a target entity's post-hit invulnerability timer (Entity.invulnerableTime), clamping the resulting value to a minimum of0ticks.Data-driven enchantment effect component that grants additional mid-air jumps to aLivingEntitybefore touching the ground.AnEnchantmentEntityEffectthat assigns a custom burn duration (in seconds) to an entity implementingFireDurationAccessor.Data-driven enchantment effect component that configures consecutive action bonuses for mining identical block types (StreakEffect.MINING_STREAK_KEY) or striking identical entity types (StreakEffect.DAMAGE_STREAK_KEY).Data-driven enchantment effect component that controls the visual rendering opacity of enchanted items, armor pieces, Elytra, shields, and tridents, as well as optionally reducing mob armor-visibility detection.