From 83fdefc8216e81c3f04aa52f94499d6cf1b9f9da Mon Sep 17 00:00:00 2001 From: Sora_7672 Date: Tue, 16 Apr 2024 16:53:04 +0200 Subject: [PATCH 1/3] Update IEntityThrowable.md Changed to correct link --- docs/1.12/content/Vanilla/Entities/IEntityThrowable.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/1.12/content/Vanilla/Entities/IEntityThrowable.md b/docs/1.12/content/Vanilla/Entities/IEntityThrowable.md index d0997f016303..ccf19b1dd556 100644 --- a/docs/1.12/content/Vanilla/Entities/IEntityThrowable.md +++ b/docs/1.12/content/Vanilla/Entities/IEntityThrowable.md @@ -8,7 +8,7 @@ It might be required for you to import the package if you encounter any issues ( IEntityThrowable implement the following interfaces and are able to call all of their methods/getters/setters as well: - [IEntity](/Vanilla/Entities/IEntity/) -- [IProjectile](/Vanilla/Events/Events/IProjectile/) +- [IProjectile](/Vanilla/Entities/IProjectile/) ## Methods From 1f2bc5b6dcea8719e793ec549eef4a103c050145 Mon Sep 17 00:00:00 2001 From: Sora_7672 Date: Tue, 16 Apr 2024 16:56:51 +0200 Subject: [PATCH 2/3] Update IEntityThrowable.md --- docs/1.12/content/Vanilla/Entities/IEntityThrowable.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/1.12/content/Vanilla/Entities/IEntityThrowable.md b/docs/1.12/content/Vanilla/Entities/IEntityThrowable.md index ccf19b1dd556..fe59eaa8ba50 100644 --- a/docs/1.12/content/Vanilla/Entities/IEntityThrowable.md +++ b/docs/1.12/content/Vanilla/Entities/IEntityThrowable.md @@ -10,7 +10,7 @@ IEntityThrowable implement the following interfaces and are able to call all of - [IEntity](/Vanilla/Entities/IEntity/) - [IProjectile](/Vanilla/Entities/IProjectile/) -## Methods +## ZenGetter/ZenSetter | ZenGetter | ZenSetter | Type | |----------------|-------------------|--------------------------------------------------------------------| From ceed613210c3d6d9aee597efbd2ba3c4a0fae797 Mon Sep 17 00:00:00 2001 From: Sora_7672 Date: Tue, 16 Apr 2024 16:57:13 +0200 Subject: [PATCH 3/3] Create IProjectile.md for conneting the IThrowable entity. --- docs/1.12/content/Vanilla/Entities/IProjectile.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/1.12/content/Vanilla/Entities/IProjectile.md diff --git a/docs/1.12/content/Vanilla/Entities/IProjectile.md b/docs/1.12/content/Vanilla/Entities/IProjectile.md new file mode 100644 index 000000000000..d8f3db0edf1a --- /dev/null +++ b/docs/1.12/content/Vanilla/Entities/IProjectile.md @@ -0,0 +1,13 @@ +# IProjectile + +## Importing the package +It might be required for you to import the package if you encounter any issues (like casting an [Array](/AdvancedFunctions/Arrays_and_Loops/)), so better be safe than sorry and add the import. +`import crafttweaker.entity.IProjectile;` + +## Extending +IProjectile is not implementing any other class. + +## ZenMethods +`void shoot(double x, double y, double z, float velocity, float inaccuracy);` -> returns nothing. +Sends the projectile in the direction x,y,z from its starting position with the speed from the velocity input. +The float inaccuracy can vary the position where the projectile lands.