Skip to content

Class "EntityKnife"⚓︎

Info

You can get this class by using the following function:

Example Code

local knifeEntity = Isaac.GetPlayer():FireKnife(Isaac.GetPlayer())

Class Diagram⚓︎

    classDiagram
    class Entity:::diagramCurrentPage
    class EntityBomb
    class EntityEffect
    class EntityFamiliar
    class EntityKnife
    class EntityLaser
    class EntityNPC
    class EntityPickup
    class EntityPlayer
    class EntityProjectile
    class EntityTear
    Entity <|-- EntityBomb
    Entity <|-- EntityEffect
    Entity <|-- EntityFamiliar
    Entity <|-- EntityKnife
    Entity <|-- EntityLaser
    Entity <|-- EntityNPC
    Entity <|-- EntityPickup
    Entity <|-- EntityPlayer
    Entity <|-- EntityProjectile
    Entity <|-- EntityTear
    link Entity "Entity.html" "Go to page for 'Entity' class"
    link EntityBomb "EntityBomb.html" "Go to page for 'EntityBomb' class"
    link EntityEffect "EntityEffect.html" "Go to page for 'EntityEffect' class"
    link EntityFamiliar "EntityFamiliar.html" "Go to page for 'EntityFamiliar' class"
    link EntityKnife "EntityKnife.html" "Go to page for 'EntityKnife' class"
    link EntityLaser "EntityLaser.html" "Go to page for 'EntityLaser' class"
    link EntityNPC "EntityNPC.html" "Go to page for 'EntityNPC' class"
    link EntityPickup "EntityPickup.html" "Go to page for 'EntityPickup' class"
    link EntityPlayer "EntityPlayer.html" "Go to page for 'EntityPlayer' class"
    link EntityProjectile "EntityProjectile.html" "Go to page for 'EntityProjectile' class"
    link EntityTear "EntityTear.html" "Go to page for 'EntityTear' class"

Functions⚓︎

Add·Tear·Flags ()⚓︎

void AddTearFlags ( TearFlags Flags )⚓︎


Clear·Tear·Flags ()⚓︎

void ClearTearFlags ( TearFlags Flags )⚓︎


Get·Knife·Distance ()⚓︎

float GetKnifeDistance ( )⚓︎


Get·Knife·Velocity ()⚓︎

float GetKnifeVelocity ( )⚓︎


Get·Render·Z ()⚓︎

int GetRenderZ ( )⚓︎


Has·Tear·Flags ()⚓︎

boolean HasTearFlags ( TearFlags Flags )⚓︎


Is·Flying ()⚓︎

boolean IsFlying ( )⚓︎


Reset ()⚓︎

void Reset ( )⚓︎

Used for master knifes, to get back to player.


Set·Path·Follow·Speed ()⚓︎

void SetPathFollowSpeed ( float Speed )⚓︎


Shoot ()⚓︎

void Shoot ( float Charge, float Range )⚓︎


Variables⚓︎

Charge⚓︎

float Charge⚓︎


Max·Distance⚓︎

float MaxDistance⚓︎


Path·Follow·Speed⚓︎

float PathFollowSpeed⚓︎

Unit speed of path moving knifes.


Path·Offset⚓︎

float PathOffset⚓︎


Rotation⚓︎

float Rotation⚓︎


Rotation·Offset⚓︎

float RotationOffset⚓︎


Scale⚓︎

float Scale⚓︎


Tear·Flags⚓︎

TearFlags TearFlags⚓︎



Last update: April 26, 2024