Class ExpandMob
java.lang.Object
com.blamejared.crafttweaker.natives.entity.type.misc.ExpandMob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidate(net.minecraft.world.entity.Mob internal) static booleancanBeLeashed(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.player.Player leashHolder) static booleancanFireProjectileWeapon(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ProjectileWeaponItem weapon) static booleancanHoldItem(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ItemStack stack) static booleancanPickUpLoot(net.minecraft.world.entity.Mob internal) static booleancanReplaceEqualItem(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ItemStack toReplace, net.minecraft.world.item.ItemStack with) static booleancheckSpawnObstruction(net.minecraft.world.entity.Mob internal, net.minecraft.world.level.LevelReader level) static booleancheckSpawnRules(net.minecraft.world.entity.Mob internal, net.minecraft.world.level.LevelAccessor level, net.minecraft.world.entity.MobSpawnType spawnType) static voidclearRestriction(net.minecraft.world.entity.Mob internal) static voiddropLeash(net.minecraft.world.entity.Mob internal, boolean broadcastPacket, boolean dropLeash) static net.minecraft.world.item.ItemStackequipItemIfPossible(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ItemStack stack) static intgetAmbientSoundInterval(net.minecraft.world.entity.Mob internal) static intgetHeadRotSpeed(net.minecraft.world.entity.Mob internal) static net.minecraft.world.entity.EntitygetLeashHolder(net.minecraft.world.entity.Mob internal) static intgetMaxHeadXRot(net.minecraft.world.entity.Mob internal) static intgetMaxHeadYRot(net.minecraft.world.entity.Mob internal) static intgetMaxSpawnClusterSize(net.minecraft.world.entity.Mob internal) static net.minecraft.core.BlockPosgetRestrictCenter(net.minecraft.world.entity.Mob internal) static floatgetRestrictRadius(net.minecraft.world.entity.Mob internal) static booleanhasRestriction(net.minecraft.world.entity.Mob internal) static booleanisAggressive(net.minecraft.world.entity.Mob internal) static booleanisLeashed(net.minecraft.world.entity.Mob internal) static booleanisLeftHanded(net.minecraft.world.entity.Mob internal) static booleanisMaxGroupSizeReached(net.minecraft.world.entity.Mob internal, int size) static booleanisNoAi(net.minecraft.world.entity.Mob internal) static booleanisPersistenceRequired(net.minecraft.world.entity.Mob internal) static booleanisWithinMeleeAttackRange(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.LivingEntity entity) static booleanisWithinRestriction(net.minecraft.world.entity.Mob internal) static booleanisWithinRestriction(net.minecraft.world.entity.Mob internal, net.minecraft.core.BlockPos position) static voidlookAt(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.Entity entity, float maxXRotIncrease, float maxYRotIncrease) static voidplayAmbientSound(net.minecraft.world.entity.Mob internal) static voidrestrictTo(net.minecraft.world.entity.Mob internal, net.minecraft.core.BlockPos restrictCenter, int restrictRadius) static voidsetAggressive(net.minecraft.world.entity.Mob internal, boolean value) static voidsetBaby(net.minecraft.world.entity.Mob internal, boolean value) static voidsetCanPickUpLoot(net.minecraft.world.entity.Mob internal, boolean value) static voidsetDropChance(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.EquipmentSlot slot, float chance) static voidsetGuaranteedDrop(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.EquipmentSlot slot) static voidsetLeashedTo(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.Entity leashHolder, boolean broadcastPacket) static voidsetLeftHanded(net.minecraft.world.entity.Mob internal, boolean value) static voidsetNoAi(net.minecraft.world.entity.Mob internal, boolean value) static voidsetPersistenceRequired(net.minecraft.world.entity.Mob internal) static voidsetTarget(net.minecraft.world.entity.Mob internal, net.minecraft.world.entity.LivingEntity target) static booleanwantsToPickUp(net.minecraft.world.entity.Mob internal, net.minecraft.world.item.ItemStack stack)
-
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)
-