Class AmbientEntity

All Implemented Interfaces:
EntityLike, CommandOutput, Nameable
Direct Known Subclasses:
BatEntity

public abstract class AmbientEntity
extends MobEntity
Mappings:
Namespace Name
official bbd
intermediary net/minecraft/class_1421
named net/minecraft/entity/mob/AmbientEntity
  • Constructor Details

    • AmbientEntity

      protected AmbientEntity​(EntityType<? extends AmbientEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqv;<init>(Laqz;Lbtv;)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

    • canBeLeashedBy

      public boolean canBeLeashedBy​(PlayerEntity player)
      Overrides:
      canBeLeashedBy in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Larj;a(Lbhl;)Z
      intermediary method_5931 Lnet/minecraft/class_1308;method_5931(Lnet/minecraft/class_1657;)Z
      named canBeLeashedBy Lnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z