java.lang.Object
com.blamejared.crafttweaker.natives.entity.type.misc.ExpandMob

@ZenRegister public class ExpandMob extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    ate(net.minecraft.world.entity.Mob internal)
     
    static boolean
    canBeLeashed(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.player.Player leashHolder)
     
    static boolean
    canFireProjectileWeapon(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ProjectileWeaponItem weapon)
     
    static boolean
    canHoldItem(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ItemStack stack)
     
    static boolean
    canPickUpLoot(net.minecraft.world.entity.Mob internal)
     
    static boolean
    canReplaceEqualItem(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ItemStack toReplace, net.minecraft.world.item.ItemStack with)
     
    static boolean
    checkSpawnObstruction(net.minecraft.world.entity.Mob internal, net.minecraft.world.level.LevelReader level)
     
    static boolean
    checkSpawnRules(net.minecraft.world.entity.Mob internal, net.minecraft.world.level.LevelAccessor level, net.minecraft.world.entity.MobSpawnType spawnType)
     
    static void
    clearRestriction(net.minecraft.world.entity.Mob internal)
     
    static void
    dropLeash(net.minecraft.world.entity.Mob internal, boolean broadcastPacket, boolean dropLeash)
     
    static net.minecraft.world.item.ItemStack
    equipItemIfPossible(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ItemStack stack)
     
    static int
    getAmbientSoundInterval(net.minecraft.world.entity.Mob internal)
     
    static int
    getHeadRotSpeed(net.minecraft.world.entity.Mob internal)
     
    static net.minecraft.world.entity.Entity
    getLeashHolder(net.minecraft.world.entity.Mob internal)
     
    static int
    getMaxHeadXRot(net.minecraft.world.entity.Mob internal)
     
    static int
    getMaxHeadYRot(net.minecraft.world.entity.Mob internal)
     
    static int
    getMaxSpawnClusterSize(net.minecraft.world.entity.Mob internal)
     
    static net.minecraft.core.BlockPos
    getRestrictCenter(net.minecraft.world.entity.Mob internal)
     
    static float
    getRestrictRadius(net.minecraft.world.entity.Mob internal)
     
    static boolean
    hasRestriction(net.minecraft.world.entity.Mob internal)
     
    static boolean
    isAggressive(net.minecraft.world.entity.Mob internal)
     
    static boolean
    isLeashed(net.minecraft.world.entity.Mob internal)
     
    static boolean
    isLeftHanded(net.minecraft.world.entity.Mob internal)
     
    static boolean
    isMaxGroupSizeReached(net.minecraft.world.entity.Mob internal, int size)
     
    static boolean
    isNoAi(net.minecraft.world.entity.Mob internal)
     
    static boolean
    isPersistenceRequired(net.minecraft.world.entity.Mob internal)
     
    static boolean
    isWithinMeleeAttackRange(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.LivingEntity entity)
     
    static boolean
    isWithinRestriction(net.minecraft.world.entity.Mob internal)
     
    static boolean
    isWithinRestriction(net.minecraft.world.entity.Mob internal, net.minecraft.core.BlockPos position)
     
    static void
    lookAt(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.Entity entity, float maxXRotIncrease, float maxYRotIncrease)
     
    static void
    playAmbientSound(net.minecraft.world.entity.Mob internal)
     
    static void
    restrictTo(net.minecraft.world.entity.Mob internal, net.minecraft.core.BlockPos restrictCenter, int restrictRadius)
     
    static void
    setAggressive(net.minecraft.world.entity.Mob internal, boolean value)
     
    static void
    setBaby(net.minecraft.world.entity.Mob internal, boolean value)
     
    static void
    setCanPickUpLoot(net.minecraft.world.entity.Mob internal, boolean value)
     
    static void
    setDropChance(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.EquipmentSlot slot, float chance)
     
    static void
    setGuaranteedDrop(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.EquipmentSlot slot)
     
    static void
    setLeashedTo(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.Entity leashHolder, boolean broadcastPacket)
     
    static void
    setLeftHanded(net.minecraft.world.entity.Mob internal, boolean value)
     
    static void
    setNoAi(net.minecraft.world.entity.Mob internal, boolean value)
     
    static void
    setPersistenceRequired(net.minecraft.world.entity.Mob internal)
     
    static void
    setTarget(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.LivingEntity target)
     
    static boolean
    wantsToPickUp(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ItemStack stack)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandMob

      public ExpandMob()
  • Method Details

    • setTarget

      public static void setTarget(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.LivingEntity target)
    • canFireProjectileWeapon

      public static boolean canFireProjectileWeapon(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ProjectileWeaponItem weapon)
    • ate

      public static void ate(net.minecraft.world.entity.Mob internal)
    • getAmbientSoundInterval

      public static int getAmbientSoundInterval(net.minecraft.world.entity.Mob internal)
    • playAmbientSound

      public static void playAmbientSound(net.minecraft.world.entity.Mob internal)
    • equipItemIfPossible

      public static net.minecraft.world.item.ItemStack equipItemIfPossible(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ItemStack stack)
    • setGuaranteedDrop

      public static void setGuaranteedDrop(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.EquipmentSlot slot)
    • canReplaceEqualItem

      public static boolean canReplaceEqualItem(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ItemStack toReplace, net.minecraft.world.item.ItemStack with)
    • canHoldItem

      public static boolean canHoldItem(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ItemStack stack)
    • wantsToPickUp

      public static boolean wantsToPickUp(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ItemStack stack)
    • getMaxHeadXRot

      public static int getMaxHeadXRot(net.minecraft.world.entity.Mob internal)
    • getMaxHeadYRot

      public static int getMaxHeadYRot(net.minecraft.world.entity.Mob internal)
    • getHeadRotSpeed

      public static int getHeadRotSpeed(net.minecraft.world.entity.Mob internal)
    • lookAt

      public static void lookAt(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.Entity entity, float maxXRotIncrease, float maxYRotIncrease)
    • checkSpawnRules

      public static boolean checkSpawnRules(net.minecraft.world.entity.Mob internal, net.minecraft.world.level.LevelAccessor level, net.minecraft.world.entity.MobSpawnType spawnType)
    • checkSpawnObstruction

      public static boolean checkSpawnObstruction(net.minecraft.world.entity.Mob internal, net.minecraft.world.level.LevelReader level)
    • getMaxSpawnClusterSize

      public static int getMaxSpawnClusterSize(net.minecraft.world.entity.Mob internal)
    • isMaxGroupSizeReached

      public static boolean isMaxGroupSizeReached(net.minecraft.world.entity.Mob internal, int size)
    • setPersistenceRequired

      public static void setPersistenceRequired(net.minecraft.world.entity.Mob internal)
    • setDropChance

      public static void setDropChance(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.EquipmentSlot slot, float chance)
    • canPickUpLoot

      public static boolean canPickUpLoot(net.minecraft.world.entity.Mob internal)
    • setCanPickUpLoot

      public static void setCanPickUpLoot(net.minecraft.world.entity.Mob internal, boolean value)
    • isPersistenceRequired

      public static boolean isPersistenceRequired(net.minecraft.world.entity.Mob internal)
    • isWithinRestriction

      public static boolean isWithinRestriction(net.minecraft.world.entity.Mob internal)
    • isWithinRestriction

      public static boolean isWithinRestriction(net.minecraft.world.entity.Mob internal, net.minecraft.core.BlockPos position)
    • restrictTo

      public static void restrictTo(net.minecraft.world.entity.Mob internal, net.minecraft.core.BlockPos restrictCenter, int restrictRadius)
    • getRestrictCenter

      public static net.minecraft.core.BlockPos getRestrictCenter(net.minecraft.world.entity.Mob internal)
    • getRestrictRadius

      public static float getRestrictRadius(net.minecraft.world.entity.Mob internal)
    • clearRestriction

      public static void clearRestriction(net.minecraft.world.entity.Mob internal)
    • hasRestriction

      public static boolean hasRestriction(net.minecraft.world.entity.Mob internal)
    • dropLeash

      public static void dropLeash(net.minecraft.world.entity.Mob internal, boolean broadcastPacket, boolean dropLeash)
    • canBeLeashed

      public static boolean canBeLeashed(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.player.Player leashHolder)
    • isLeashed

      public static boolean isLeashed(net.minecraft.world.entity.Mob internal)
    • getLeashHolder

      public static net.minecraft.world.entity.Entity getLeashHolder(net.minecraft.world.entity.Mob internal)
    • setLeashedTo

      public static void setLeashedTo(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.Entity leashHolder, boolean broadcastPacket)
    • setNoAi

      public static void setNoAi(net.minecraft.world.entity.Mob internal, boolean value)
    • setLeftHanded

      public static void setLeftHanded(net.minecraft.world.entity.Mob internal, boolean value)
    • setAggressive

      public static void setAggressive(net.minecraft.world.entity.Mob internal, boolean value)
    • isNoAi

      public static boolean isNoAi(net.minecraft.world.entity.Mob internal)
    • isLeftHanded

      public static boolean isLeftHanded(net.minecraft.world.entity.Mob internal)
    • isAggressive

      public static boolean isAggressive(net.minecraft.world.entity.Mob internal)
    • setBaby

      public static void setBaby(net.minecraft.world.entity.Mob internal, boolean value)
    • isWithinMeleeAttackRange

      public static boolean isWithinMeleeAttackRange(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.LivingEntity entity)