类 ProjectileEntity

    • 字段详细资料

      • ownerUuid

        @Nullable
        private @Nullable UUID ownerUuid
        Mappings:
        Namespace Name Mixin selector
        official b Lbjv;b:Ljava/util/UUID;
        intermediary field_22478 Lnet/minecraft/class_1676;field_22478:Ljava/util/UUID;
        named ownerUuid Lnet/minecraft/entity/projectile/ProjectileEntity;ownerUuid:Ljava/util/UUID;
      • owner

        @Nullable
        private @Nullable Entity owner
        Mappings:
        Namespace Name Mixin selector
        official c Lbjv;c:Lasl;
        intermediary field_33399 Lnet/minecraft/class_1676;field_33399:Lnet/minecraft/class_1297;
        named owner Lnet/minecraft/entity/projectile/ProjectileEntity;owner:Lnet/minecraft/entity/Entity;
      • leftOwner

        private boolean leftOwner
        Mappings:
        Namespace Name Mixin selector
        official d Lbjv;d:Z
        intermediary field_23740 Lnet/minecraft/class_1676;field_23740:Z
        named leftOwner Lnet/minecraft/entity/projectile/ProjectileEntity;leftOwner:Z
      • shot

        private boolean shot
        Mappings:
        Namespace Name Mixin selector
        official e Lbjv;e:Z
        intermediary field_28646 Lnet/minecraft/class_1676;field_28646:Z
        named shot Lnet/minecraft/entity/projectile/ProjectileEntity;shot:Z
    • 构造器详细资料

      • ProjectileEntity

        ProjectileEntity​(EntityType<? extends ProjectileEntity> type,
                         World world)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lasl;<init>(Lasp;Lbvr;)V
        intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
        named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
    • 方法详细资料

      • setOwner

        public void setOwner​(@Nullable
                             @Nullable Entity entity)
        Mappings:
        Namespace Name Mixin selector
        official b Lbjv;b(Lasl;)V
        intermediary method_7432 Lnet/minecraft/class_1676;method_7432(Lnet/minecraft/class_1297;)V
        named setOwner Lnet/minecraft/entity/projectile/ProjectileEntity;setOwner(Lnet/minecraft/entity/Entity;)V
      • getOwner

        @Nullable
        public @Nullable Entity getOwner()
        Mappings:
        Namespace Name Mixin selector
        official v Lbjv;v()Lasl;
        intermediary method_24921 Lnet/minecraft/class_1676;method_24921()Lnet/minecraft/class_1297;
        named getOwner Lnet/minecraft/entity/projectile/ProjectileEntity;getOwner()Lnet/minecraft/entity/Entity;
      • writeCustomDataToNbt

        protected void writeCustomDataToNbt​(CompoundTag nbt)
        指定者:
        writeCustomDataToNbt 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official b Lasl;b(Lmv;)V
        intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
        named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
      • isOwner

        protected boolean isOwner​(Entity entity)
        Mappings:
        Namespace Name Mixin selector
        official d Lbjv;d(Lasl;)Z
        intermediary method_34714 Lnet/minecraft/class_1676;method_34714(Lnet/minecraft/class_1297;)Z
        named isOwner Lnet/minecraft/entity/projectile/ProjectileEntity;isOwner(Lnet/minecraft/entity/Entity;)Z
      • readCustomDataFromNbt

        protected void readCustomDataFromNbt​(CompoundTag nbt)
        指定者:
        readCustomDataFromNbt 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official a Lasl;a(Lmv;)V
        intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
        named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
      • tick

        public void tick()
        覆盖:
        tick 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official j Lasl;j()V
        intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
        named tick Lnet/minecraft/entity/Entity;tick()V
      • shouldLeaveOwner

        private boolean shouldLeaveOwner()
        Mappings:
        Namespace Name Mixin selector
        official h Lbjv;h()Z
        intermediary method_26961 Lnet/minecraft/class_1676;method_26961()Z
        named shouldLeaveOwner Lnet/minecraft/entity/projectile/ProjectileEntity;shouldLeaveOwner()Z
      • setVelocity

        public void setVelocity​(double x,
                                double y,
                                double z,
                                float speed,
                                float divergence)
        Mappings:
        Namespace Name Mixin selector
        official c Lbjv;c(DDDFF)V
        intermediary method_7485 Lnet/minecraft/class_1676;method_7485(DDDFF)V
        named setVelocity Lnet/minecraft/entity/projectile/ProjectileEntity;setVelocity(DDDFF)V
      • setProperties

        public void setProperties​(Entity user,
                                  float pitch,
                                  float yaw,
                                  float roll,
                                  float modifierZ,
                                  float modifierXYZ)
        Mappings:
        Namespace Name Mixin selector
        official a Lbjv;a(Lasl;FFFFF)V
        intermediary method_24919 Lnet/minecraft/class_1676;method_24919(Lnet/minecraft/class_1297;FFFFF)V
        named setProperties Lnet/minecraft/entity/projectile/ProjectileEntity;setProperties(Lnet/minecraft/entity/Entity;FFFFF)V
      • onCollision

        protected void onCollision​(HitResult hitResult)
        Mappings:
        Namespace Name Mixin selector
        official a Lbjv;a(Ldly;)V
        intermediary method_7488 Lnet/minecraft/class_1676;method_7488(Lnet/minecraft/class_239;)V
        named onCollision Lnet/minecraft/entity/projectile/ProjectileEntity;onCollision(Lnet/minecraft/util/hit/HitResult;)V
      • onEntityHit

        protected void onEntityHit​(EntityHitResult entityHitResult)
        Mappings:
        Namespace Name Mixin selector
        official a Lbjv;a(Ldlx;)V
        intermediary method_7454 Lnet/minecraft/class_1676;method_7454(Lnet/minecraft/class_3966;)V
        named onEntityHit Lnet/minecraft/entity/projectile/ProjectileEntity;onEntityHit(Lnet/minecraft/util/hit/EntityHitResult;)V
      • onBlockHit

        protected void onBlockHit​(BlockHitResult blockHitResult)
        Mappings:
        Namespace Name Mixin selector
        official a Lbjv;a(Ldlw;)V
        intermediary method_24920 Lnet/minecraft/class_1676;method_24920(Lnet/minecraft/class_3965;)V
        named onBlockHit Lnet/minecraft/entity/projectile/ProjectileEntity;onBlockHit(Lnet/minecraft/util/hit/BlockHitResult;)V
      • setVelocityClient

        public void setVelocityClient​(double x,
                                      double y,
                                      double z)
        覆盖:
        setVelocityClient 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official k Lasl;k(DDD)V
        intermediary method_5750 Lnet/minecraft/class_1297;method_5750(DDD)V
        named setVelocityClient Lnet/minecraft/entity/Entity;setVelocityClient(DDD)V
      • canHit

        protected boolean canHit​(Entity entity)
        Mappings:
        Namespace Name Mixin selector
        official a Lbjv;a(Lasl;)Z
        intermediary method_26958 Lnet/minecraft/class_1676;method_26958(Lnet/minecraft/class_1297;)Z
        named canHit Lnet/minecraft/entity/projectile/ProjectileEntity;canHit(Lnet/minecraft/entity/Entity;)Z
      • updateRotation

        protected void updateRotation()
        Mappings:
        Namespace Name Mixin selector
        official w Lbjv;w()V
        intermediary method_26962 Lnet/minecraft/class_1676;method_26962()V
        named updateRotation Lnet/minecraft/entity/projectile/ProjectileEntity;updateRotation()V
      • updateRotation

        protected static float updateRotation​(float prevRot,
                                              float newRot)
        Mappings:
        Namespace Name Mixin selector
        official d Lbjv;d(FF)F
        intermediary method_26960 Lnet/minecraft/class_1676;method_26960(FF)F
        named updateRotation Lnet/minecraft/entity/projectile/ProjectileEntity;updateRotation(FF)F
      • createSpawnPacket

        public Packet<?> createSpawnPacket()
        指定者:
        createSpawnPacket 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official O Lasl;O()Lpf;
        intermediary method_18002 Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
        named createSpawnPacket Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
      • onSpawnPacket

        public void onSpawnPacket​(EntitySpawnS2CPacket packet)
        覆盖:
        onSpawnPacket 在类中 Entity
        Mappings:
        Namespace Name Mixin selector
        official a Lasl;a(Lpj;)V
        intermediary method_31471 Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)V
        named onSpawnPacket Lnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V