How to make a scythe?

Started by RedCorr on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a scythe?

I need a scythe, that will do more damage from distance.
Like, 2-4 blocks.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need a scythe, that will…
Tue, 06/23/2020 - 04:04

I need a scythe, that will do more damage from distance.

Is there a procedure block that allows you to get the between two entities?

If you know how to code I'll leave you with this😘;

Entity::getDistanceSq

In code, it should look similar to this;

double distance = attackingEntity.getDistanceSq(attackedEntity);

Like, 2-4 blocks.

^^^^ Add a check for distance!😊

 

You can do this all in any applicable event. i.e.

LivingDamageEvent

 

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
once again, too difficult,…
Tue, 06/23/2020 - 13:58

once again, too difficult, but i will try to understand

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well although you don't…
Tue, 06/23/2020 - 15:03

Well although you don't necessarily need a lot of java knowledge to do something like this. I suggest maybe waiting for MCreator to make this possible. It may be possible idk.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ooooooooo Oki-doki, i will…
Tue, 06/23/2020 - 20:22

ooooooooo
Oki-doki, i will try that later.
but if it wont work, try to do with procedures and then if once again nothing will happen, i will wait.

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a procedure On entity…
Tue, 06/23/2020 - 23:39

Create a procedure On entity Attack If source entity is subtype of player and Has scythe on main hand just get x y and z of event entity and source entity, using math distancr formula of distance=>2 deal the weapon damage+bonus damage