历史 - net.minecraft.world.item.component.AttackRange

1.21.11

名称

dnu

net.minecraft.world.item.component.AttackRange

net.minecraft.class_12392

net.minecraft.component.type.AttackRangeComponent

net.minecraft.src.C_433008_

net.minecraft.world.item.component.AttackRange

字段

float: c, minRange, comp_5260, minRange, f_436369_

float: d, maxRange, comp_5261, maxRange, f_437128_

float: e, minCreativeRange, comp_5265, minCreativeRange, f_435614_

float: f, maxCreativeRange, comp_5266, maxCreativeRange, f_436923_

float: g, hitboxMargin, comp_5262, hitboxMargin, f_437327_

float: h, mobFactor, comp_5263, mobFactor, f_435276_

com.mojang.serialization.Codec<AttackRange>: a, CODEC, field_64654, CODEC, f_433237_

StreamCodec<io.netty.buffer.ByteBuf, AttackRange>: b, STREAM_CODEC, field_64655, PACKET_CODEC, f_435080_

构造函数

(float, float, float, float, float, float)

方法

AttackRange (LivingEntity): a, defaultFor, method_76734, defaultForEntity, m_446989_

HitResult (Entity, float, Predicate<Entity>): a, getClosesetHit, method_76733, getHitResult, m_440229_

float (Entity): a, effectiveMinRange, method_76732, getEffectiveMinRange, m_444031_

float (Entity): b, effectiveMaxRange, method_76739, getEffectiveMaxRange, m_440780_

boolean (LivingEntity, Vec3): a, isInRange, method_76736, isWithinRange, m_441539_

boolean (LivingEntity, AABB, double): a, isInRange, method_76735, isWithinRange, m_440015_

boolean (LivingEntity, ToDoubleFunction<Vec3>, double): a, isInRange, method_76737, isWithinRange, m_438891_

float (): a, minRange, comp_5260, minRange, f_436369_

float (): b, maxRange, comp_5261, maxRange, f_437128_

float (): c, minCreativeRange, comp_5265, minCreativeRange, f_435614_

float (): d, maxCreativeRange, comp_5266, maxCreativeRange, f_436923_

float (): e, hitboxMargin, comp_5262, hitboxMargin, f_437327_

float (): f, mobFactor, comp_5263, mobFactor, f_435276_