Package net.minestom.server.item.enchant
Class EffectComponent
java.lang.Object
net.minestom.server.item.enchant.EffectComponent
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<AttributeEffect>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<ValueEffect> static final DataComponent
<List<CrossbowChargingSounds>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<ConditionalEffect<DamageImmunityEffect>>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<TargetedConditionalEffect<ValueEffect>>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<ConditionalEffect<EntityEffect>>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<ConditionalEffect<LocationEffect>>> static final BinaryTagSerializer
<DataComponentMap> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<TargetedConditionalEffect<EntityEffect>>> static final DataComponent
<Unit> static final DataComponent
<Unit> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<ConditionalEffect<EntityEffect>>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<ConditionalEffect<EntityEffect>>> static final DataComponent
<List<ConditionalEffect<ValueEffect>>> static final DataComponent
<List<ObjectSet<SoundEvent>>> static final DataComponent
<ValueEffect> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable DataComponent
<?> fromId
(int id) static @Nullable DataComponent
<?> fromNamespaceId
(@NotNull String namespaceId) static @Nullable DataComponent
<?> fromNamespaceId
(@NotNull NamespaceID namespaceId) static @NotNull Collection
<DataComponent<?>> values()
-
Field Details
-
DAMAGE_PROTECTION
-
DAMAGE_IMMUNITY
-
DAMAGE
-
SMASH_DAMAGE_PER_FALLEN_BLOCK
public static final DataComponent<List<ConditionalEffect<ValueEffect>>> SMASH_DAMAGE_PER_FALLEN_BLOCK -
KNOCKBACK
-
ARMOR_EFFECTIVENESS
-
POST_ATTACK
-
HIT_BLOCK
-
ITEM_DAMAGE
-
ATTRIBUTES
-
EQUIPMENT_DROPS
-
LOCATION_CHANGED
-
TICK
-
AMMO_USE
-
PROJECTILE_PIERCING
-
PROJECTILE_SPAWNED
-
PROJECTILE_SPREAD
-
PROJECTILE_COUNT
-
TRIDENT_RETURN_ACCELERATION
-
FISHING_TIME_REDUCTION
-
FISHING_LUCK_BONUS
-
BLOCK_EXPERIENCE
-
MOB_EXPERIENCE
-
REPAIR_WITH_XP
-
CROSSBOW_CHARGE_TIME
-
CROSSBOW_CHARGING_SOUNDS
-
TRIDENT_SOUND
-
PREVENT_EQUIPMENT_DROP
-
PREVENT_ARMOR_CHANGE
-
TRIDENT_SPIN_ATTACK_STRENGTH
-
MAP_NBT_TYPE
-
-
Constructor Details
-
EffectComponent
public EffectComponent()
-
-
Method Details
-
fromNamespaceId
@Nullable public static @Nullable DataComponent<?> fromNamespaceId(@NotNull @NotNull String namespaceId) -
fromNamespaceId
@Nullable public static @Nullable DataComponent<?> fromNamespaceId(@NotNull @NotNull NamespaceID namespaceId) -
fromId
-
values
-