Uses of Record Class
net.minecraft.world.item.component.AttackRange
Packages that use AttackRange
Package
Description
-
Uses of AttackRange in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type AttackRangeModifier and TypeFieldDescriptionstatic final DataComponentType<AttackRange> DataComponents.ATTACK_RANGE -
Uses of AttackRange in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return AttackRange -
Uses of AttackRange in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile with parameters of type AttackRangeModifier and TypeMethodDescriptionstatic com.mojang.datafixers.util.Either<BlockHitResult, Collection<EntityHitResult>> ProjectileUtil.getHitEntitiesAlong(Entity attacker, AttackRange attackRange, Predicate<Entity> matching, ClipContext.Block blockClipType) -
Uses of AttackRange in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component with type parameters of type AttackRangeModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<AttackRange> AttackRange.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, AttackRange> AttackRange.STREAM_CODECMethods in net.minecraft.world.item.component that return AttackRangeModifier and TypeMethodDescriptionstatic AttackRangeAttackRange.defaultFor(LivingEntity livingEntity)