Class RaiderEntity

All Implemented Interfaces:
Monster, CommandOutput, Nameable, EntityLike
Direct Known Subclasses:
IllagerEntity, RavagerEntity, WitchEntity

public abstract class RaiderEntity extends PatrolEntity
Mappings:
Namespace Name
official bpp
intermediary net/minecraft/class_3763
named net/minecraft/entity/raid/RaiderEntity
  • Field Details

    • CELEBRATING

      protected static final TrackedData<Boolean> CELEBRATING
      Mappings:
      Namespace Name Mixin selector
      official c Lbpp;c:Lyb;
      intermediary field_19032 Lnet/minecraft/class_3763;field_19032:Lnet/minecraft/class_2940;
      named CELEBRATING Lnet/minecraft/entity/raid/RaiderEntity;CELEBRATING:Lnet/minecraft/entity/data/TrackedData;
    • OBTAINABLE_OMINOUS_BANNER_PREDICATE

      static final Predicate<ItemEntity> OBTAINABLE_OMINOUS_BANNER_PREDICATE
      Mappings:
      Namespace Name Mixin selector
      official b Lbpp;b:Ljava/util/function/Predicate;
      intermediary field_16600 Lnet/minecraft/class_3763;field_16600:Ljava/util/function/Predicate;
      named OBTAINABLE_OMINOUS_BANNER_PREDICATE Lnet/minecraft/entity/raid/RaiderEntity;OBTAINABLE_OMINOUS_BANNER_PREDICATE:Ljava/util/function/Predicate;
    • raid

      @Nullable protected @Nullable Raid raid
      Mappings:
      Namespace Name Mixin selector
      official d Lbpp;d:Lbpo;
      intermediary field_16599 Lnet/minecraft/class_3763;field_16599:Lnet/minecraft/class_3765;
      named raid Lnet/minecraft/entity/raid/RaiderEntity;raid:Lnet/minecraft/village/raid/Raid;
    • wave

      private int wave
      Mappings:
      Namespace Name Mixin selector
      official e Lbpp;e:I
      intermediary field_16601 Lnet/minecraft/class_3763;field_16601:I
      named wave Lnet/minecraft/entity/raid/RaiderEntity;wave:I
    • ableToJoinRaid

      private boolean ableToJoinRaid
      Mappings:
      Namespace Name Mixin selector
      official bV Lbpp;bV:Z
      intermediary field_16602 Lnet/minecraft/class_3763;field_16602:Z
      named ableToJoinRaid Lnet/minecraft/entity/raid/RaiderEntity;ableToJoinRaid:Z
    • outOfRaidCounter

      private int outOfRaidCounter
      Mappings:
      Namespace Name Mixin selector
      official bW Lbpp;bW:I
      intermediary field_16997 Lnet/minecraft/class_3763;field_16997:I
      named outOfRaidCounter Lnet/minecraft/entity/raid/RaiderEntity;outOfRaidCounter:I
  • Constructor Details

    • RaiderEntity

      protected RaiderEntity(EntityType<? extends RaiderEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laxk;<init>(Laxo;Lcav;)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
  • Method Details

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class PatrolEntity
      Mappings:
      Namespace Name Mixin selector
      official u Laya;u()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Laxk;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • addBonusForWave

      public abstract void addBonusForWave(int wave, boolean unused)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpp;a(IZ)V
      intermediary method_16484 Lnet/minecraft/class_3763;method_16484(IZ)V
      named addBonusForWave Lnet/minecraft/entity/raid/RaiderEntity;addBonusForWave(IZ)V
    • canJoinRaid

      public boolean canJoinRaid()
      Mappings:
      Namespace Name Mixin selector
      official fM Lbpp;fM()Z
      intermediary method_16481 Lnet/minecraft/class_3763;method_16481()Z
      named canJoinRaid Lnet/minecraft/entity/raid/RaiderEntity;canJoinRaid()Z
    • setAbleToJoinRaid

      public void setAbleToJoinRaid(boolean ableToJoinRaid)
      Mappings:
      Namespace Name Mixin selector
      official y Lbpp;y(Z)V
      intermediary method_16480 Lnet/minecraft/class_3763;method_16480(Z)V
      named setAbleToJoinRaid Lnet/minecraft/entity/raid/RaiderEntity;setAbleToJoinRaid(Z)V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official w_ Laxy;w_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • updateDespawnCounter

      protected void updateDespawnCounter()
      Overrides:
      updateDespawnCounter in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official fD Lbmd;fD()V
      intermediary method_16827 Lnet/minecraft/class_1588;method_16827()V
      named updateDespawnCounter Lnet/minecraft/entity/mob/HostileEntity;updateDespawnCounter()V
    • onDeath

      public void onDeath(DamageSource source)
      Overrides:
      onDeath in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laxy;a(Lawu;)V
      intermediary method_6078 Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)V
      named onDeath Lnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
    • hasNoRaid

      public boolean hasNoRaid()
      Overrides:
      hasNoRaid in class PatrolEntity
      Mappings:
      Namespace Name Mixin selector
      official fG Lbme;fG()Z
      intermediary method_16472 Lnet/minecraft/class_3732;method_16472()Z
      named hasNoRaid Lnet/minecraft/entity/mob/PatrolEntity;hasNoRaid()Z
    • setRaid

      public void setRaid(@Nullable @Nullable Raid raid)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpp;a(Lbpo;)V
      intermediary method_16476 Lnet/minecraft/class_3763;method_16476(Lnet/minecraft/class_3765;)V
      named setRaid Lnet/minecraft/entity/raid/RaiderEntity;setRaid(Lnet/minecraft/village/raid/Raid;)V
    • getRaid

      @Nullable public @Nullable Raid getRaid()
      Mappings:
      Namespace Name Mixin selector
      official fN Lbpp;fN()Lbpo;
      intermediary method_16478 Lnet/minecraft/class_3763;method_16478()Lnet/minecraft/class_3765;
      named getRaid Lnet/minecraft/entity/raid/RaiderEntity;getRaid()Lnet/minecraft/village/raid/Raid;
    • hasActiveRaid

      public boolean hasActiveRaid()
      Mappings:
      Namespace Name Mixin selector
      official fO Lbpp;fO()Z
      intermediary method_16482 Lnet/minecraft/class_3763;method_16482()Z
      named hasActiveRaid Lnet/minecraft/entity/raid/RaiderEntity;hasActiveRaid()Z
    • setWave

      public void setWave(int wave)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpp;a(I)V
      intermediary method_16477 Lnet/minecraft/class_3763;method_16477(I)V
      named setWave Lnet/minecraft/entity/raid/RaiderEntity;setWave(I)V
    • getWave

      public int getWave()
      Mappings:
      Namespace Name Mixin selector
      official fP Lbpp;fP()I
      intermediary method_16486 Lnet/minecraft/class_3763;method_16486()I
      named getWave Lnet/minecraft/entity/raid/RaiderEntity;getWave()I
    • isCelebrating

      public boolean isCelebrating()
      Mappings:
      Namespace Name Mixin selector
      official fQ Lbpp;fQ()Z
      intermediary method_20034 Lnet/minecraft/class_3763;method_20034()Z
      named isCelebrating Lnet/minecraft/entity/raid/RaiderEntity;isCelebrating()Z
    • setCelebrating

      public void setCelebrating(boolean celebrating)
      Mappings:
      Namespace Name Mixin selector
      official z Lbpp;z(Z)V
      intermediary method_20036 Lnet/minecraft/class_3763;method_20036(Z)V
      named setCelebrating Lnet/minecraft/entity/raid/RaiderEntity;setCelebrating(Z)V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class PatrolEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laxk;b(Lok;)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/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class PatrolEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laxk;a(Lok;)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/NbtCompound;)V
    • loot

      protected void loot(ItemEntity item)
      Overrides:
      loot in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laya;b(Lbli;)V
      intermediary method_5949 Lnet/minecraft/class_1308;method_5949(Lnet/minecraft/class_1542;)V
      named loot Lnet/minecraft/entity/mob/MobEntity;loot(Lnet/minecraft/entity/ItemEntity;)V
    • canImmediatelyDespawn

      public boolean canImmediatelyDespawn(double distanceSquared)
      Overrides:
      canImmediatelyDespawn in class PatrolEntity
      Mappings:
      Namespace Name Mixin selector
      official h Laya;h(D)Z
      intermediary method_5974 Lnet/minecraft/class_1308;method_5974(D)Z
      named canImmediatelyDespawn Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
    • cannotDespawn

      public boolean cannotDespawn()
      Overrides:
      cannotDespawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official O Laya;O()Z
      intermediary method_17326 Lnet/minecraft/class_1308;method_17326()Z
      named cannotDespawn Lnet/minecraft/entity/mob/MobEntity;cannotDespawn()Z
    • getOutOfRaidCounter

      public int getOutOfRaidCounter()
      Mappings:
      Namespace Name Mixin selector
      official fR Lbpp;fR()I
      intermediary method_16836 Lnet/minecraft/class_3763;method_16836()I
      named getOutOfRaidCounter Lnet/minecraft/entity/raid/RaiderEntity;getOutOfRaidCounter()I
    • setOutOfRaidCounter

      public void setOutOfRaidCounter(int outOfRaidCounter)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpp;b(I)V
      intermediary method_16835 Lnet/minecraft/class_3763;method_16835(I)V
      named setOutOfRaidCounter Lnet/minecraft/entity/raid/RaiderEntity;setOutOfRaidCounter(I)V
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laxk;a(Lawu;F)Z
      intermediary method_5643 Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • initialize

      @Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)
      Overrides:
      initialize in class PatrolEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laya;a(Lcbk;Lawf;Layc;Layq;Lok;)Layq;
      intermediary method_5943 Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
    • getCelebratingSound

      public abstract SoundEvent getCelebratingSound()
      Mappings:
      Namespace Name Mixin selector
      official t Lbpp;t()Lahj;
      intermediary method_20033 Lnet/minecraft/class_3763;method_20033()Lnet/minecraft/class_3414;
      named getCelebratingSound Lnet/minecraft/entity/raid/RaiderEntity;getCelebratingSound()Lnet/minecraft/sound/SoundEvent;