Class BoggedEntity

All Implemented Interfaces:
ComponentsAccess, RangedAttackMob, Attackable, DataTracked, EquipmentHolder, Leashable, Monster, Shearable, Targeter, ScoreHolder, HeldItemContext, Nameable, DebugTrackable, EntityLike, UniquelyIdentifiable, ServerWaypoint, Waypoint

public class BoggedEntity extends AbstractSkeletonEntity implements Shearable
Mappings:
Namespace Name
named net/minecraft/entity/mob/BoggedEntity
intermediary net/minecraft/class_9254
official cvx
  • Field Details

    • HARD_ATTACK_INTERVAL

      private static final int HARD_ATTACK_INTERVAL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HARD_ATTACK_INTERVAL Lnet/minecraft/entity/mob/BoggedEntity;HARD_ATTACK_INTERVAL:I
      intermediary field_49151 Lnet/minecraft/class_9254;field_49151:I
      official a Lcvx;a:I
    • REGULAR_ATTACK_INTERVAL

      private static final int REGULAR_ATTACK_INTERVAL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named REGULAR_ATTACK_INTERVAL Lnet/minecraft/entity/mob/BoggedEntity;REGULAR_ATTACK_INTERVAL:I
      intermediary field_49152 Lnet/minecraft/class_9254;field_49152:I
      official b Lcvx;b:I
    • SHEARED

      private static final TrackedData<Boolean> SHEARED
      Mappings:
      Namespace Name Mixin selector
      named SHEARED Lnet/minecraft/entity/mob/BoggedEntity;SHEARED:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_49241 Lnet/minecraft/class_9254;field_49241:Lnet/minecraft/class_2940;
      official c Lcvx;c:Lalm;
    • SHEARED_KEY

      private static final String SHEARED_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SHEARED_KEY Lnet/minecraft/entity/mob/BoggedEntity;SHEARED_KEY:Ljava/lang/String;
      intermediary field_49240 Lnet/minecraft/class_9254;field_49240:Ljava/lang/String;
      official d Lcvx;d:Ljava/lang/String;
    • DEFAULT_SHEARED

      private static final boolean DEFAULT_SHEARED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SHEARED Lnet/minecraft/entity/mob/BoggedEntity;DEFAULT_SHEARED:Z
      intermediary field_57664 Lnet/minecraft/class_9254;field_57664:Z
      official e Lcvx;e:Z
  • Constructor Details

    • BoggedEntity

      public BoggedEntity(EntityType<? extends BoggedEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lcdv;<init>(Lcee;Ldrq;)V
  • Method Details

    • createBoggedAttributes

      public static DefaultAttributeContainer.Builder createBoggedAttributes()
      Mappings:
      Namespace Name Mixin selector
      named createBoggedAttributes Lnet/minecraft/entity/mob/BoggedEntity;createBoggedAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_57080 Lnet/minecraft/class_9254;method_57080()Lnet/minecraft/class_5132$class_5133;
      official gK Lcvx;gK()Lcgb$a;
    • initDataTracker

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Overrides:
      initDataTracker in class MobEntity
      API Note:
      Subclasses should override this and add to the builder any data that needs to be tracked.
      Mappings:
      Namespace Name Mixin selector
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
      official a Lcdv;a(Lalq$a;)V
    • writeCustomData

      protected void writeCustomData(WriteView view)
      Overrides:
      writeCustomData in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named writeCustomData Lnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)V
      official a Lcdv;a(Lfir;)V
    • readCustomData

      protected void readCustomData(ReadView view)
      Overrides:
      readCustomData in class AbstractSkeletonEntity
      Mappings:
      Namespace Name Mixin selector
      named readCustomData Lnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)V
      official a Lcdv;a(Lfip;)V
    • isSheared

      public boolean isSheared()
      Mappings:
      Namespace Name Mixin selector
      named isSheared Lnet/minecraft/entity/mob/BoggedEntity;isSheared()Z
      intermediary method_57308 Lnet/minecraft/class_9254;method_57308()Z
      official gL Lcvx;gL()Z
    • setSheared

      public void setSheared(boolean sheared)
      Mappings:
      Namespace Name Mixin selector
      named setSheared Lnet/minecraft/entity/mob/BoggedEntity;setSheared(Z)V
      intermediary method_57310 Lnet/minecraft/class_9254;method_57310(Z)V
      official x Lcvx;x(Z)V
    • interactMob

      protected ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
      intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      official b Lcey;b(Lczl;Lcbp;)Lcbq;
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      official p Lcey;p()Lbcd;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      official e Lcew;e(Lcci;)Lbcd;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      official f_ Lcew;f_()Lbcd;
    • getStepSound

      protected SoundEvent getStepSound()
      Specified by:
      getStepSound in class AbstractSkeletonEntity
      Mappings:
      Namespace Name Mixin selector
      named getStepSound Lnet/minecraft/entity/mob/AbstractSkeletonEntity;getStepSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6998 Lnet/minecraft/class_1547;method_6998()Lnet/minecraft/class_3414;
      official m Lcvv;m()Lbcd;
    • createArrowProjectile

      protected PersistentProjectileEntity createArrowProjectile(ItemStack arrow, float damageModifier, @Nullable @Nullable ItemStack shotFrom)
      Overrides:
      createArrowProjectile in class AbstractSkeletonEntity
      Mappings:
      Namespace Name Mixin selector
      named createArrowProjectile Lnet/minecraft/entity/mob/AbstractSkeletonEntity;createArrowProjectile(Lnet/minecraft/item/ItemStack;FLnet/minecraft/item/ItemStack;)Lnet/minecraft/entity/projectile/PersistentProjectileEntity;
      intermediary method_6996 Lnet/minecraft/class_1547;method_6996(Lnet/minecraft/class_1799;FLnet/minecraft/class_1799;)Lnet/minecraft/class_1665;
      official a Lcvv;a(Ldhp;FLdhp;)Lczv;
    • getHardAttackInterval

      protected int getHardAttackInterval()
      Overrides:
      getHardAttackInterval in class AbstractSkeletonEntity
      Mappings:
      Namespace Name Mixin selector
      named getHardAttackInterval Lnet/minecraft/entity/mob/AbstractSkeletonEntity;getHardAttackInterval()I
      intermediary method_57078 Lnet/minecraft/class_1547;method_57078()I
      official s Lcvv;s()I
    • getRegularAttackInterval

      protected int getRegularAttackInterval()
      Overrides:
      getRegularAttackInterval in class AbstractSkeletonEntity
      Mappings:
      Namespace Name Mixin selector
      named getRegularAttackInterval Lnet/minecraft/entity/mob/AbstractSkeletonEntity;getRegularAttackInterval()I
      intermediary method_57079 Lnet/minecraft/class_1547;method_57079()I
      official gI Lcvv;gI()I
    • sheared

      public void sheared(ServerWorld world, SoundCategory shearedSoundCategory, ItemStack shears)
      Specified by:
      sheared in interface Shearable
      Mappings:
      Namespace Name Mixin selector
      named sheared Lnet/minecraft/entity/Shearable;sheared(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/sound/SoundCategory;Lnet/minecraft/item/ItemStack;)V
      intermediary method_6636 Lnet/minecraft/class_5147;method_6636(Lnet/minecraft/class_3218;Lnet/minecraft/class_3419;Lnet/minecraft/class_1799;)V
      official a Lcfm;a(Lawx;Lbcf;Ldhp;)V
    • dropShearedItems

      private void dropShearedItems(ServerWorld world, ItemStack shears)
      Mappings:
      Namespace Name Mixin selector
      named dropShearedItems Lnet/minecraft/entity/mob/BoggedEntity;dropShearedItems(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/item/ItemStack;)V
      intermediary method_57309 Lnet/minecraft/class_9254;method_57309(Lnet/minecraft/class_3218;Lnet/minecraft/class_1799;)V
      official d Lcvx;d(Lawx;Ldhp;)V
    • isShearable

      public boolean isShearable()
      Specified by:
      isShearable in interface Shearable
      Mappings:
      Namespace Name Mixin selector
      named isShearable Lnet/minecraft/entity/Shearable;isShearable()Z
      intermediary method_27072 Lnet/minecraft/class_5147;method_27072()Z
      official a Lcfm;a()Z