Posted June 27, 20205 yr since a lot was changed in 1.16 ... Can someone tell me which double is for what
June 27, 20205 yr They should be the same as 1.15 shoot(double x, double y, double z, float velocity, float inaccuracy)
June 28, 20205 yr The first three doubles define the rough direction the entity should travel toward, relative to the current position. The two sets of x,y,z (the other being the entity's current position) define the line of travel.
June 28, 20205 yr Author like so? vamp.shoot(playerIn, playerIn.rotationPitch, playerIn.rotationYaw, 0.0F, 1.2F, 0.0F);
June 28, 20205 yr Does shoot(EntityPlayer, double, double, float, float, float) fit the signature of the function shoot(double, double, double, float, float) ?
June 28, 20205 yr Author yes what I sent worked in 1.15.2, where I wanted to use it in 1.16.1 it always flew down
June 28, 20205 yr I stand corrected. public void func_234612_a_(Entity p_234612_1_, float p_234612_2_, float p_234612_3_, float p_234612_4_, float p_234612_5_, float p_234612_6_) { It looks like the mappings were lost in the update to 1.16.
June 28, 20205 yr Author oh how can i look what these func in 1.16.1 are? Edited June 28, 20205 yr by DevTech
June 28, 20205 yr I looked through the tree for ArrowEntity. It's in ProjectileEntity, a second tier parent.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.