Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
seymourimadeit committed Jun 19, 2024
1 parent c1020a6 commit 615bd54
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'eclipse'
id 'idea'
id 'maven-publish'
id 'net.neoforged.gradle.userdev' version '7.0.140'
id 'net.neoforged.gradle.userdev' version '7.0.143'
}

version = minecraft_version + "-" + mod_version
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ minecraft_version=1.21
# as they do not follow standard versioning conventions.
minecraft_version_range=[1.21, 1.22)
# The Neo version must agree with the Minecraft version to get a valid artifact
neo_version=21.0.16-beta
neo_version=21.0.20-beta
# The Neo version range can use any version of Neo as bounds or match the loader version range
neo_version_range=[20.5.14,)
# The loader version range can only use the major version of Neo/FML as bounds
Expand All @@ -31,7 +31,7 @@ mod_name=Piglin Proliferation
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=MIT for code, CC BY-NC-SA 4.0 for assets
# The mod version. See https://semver.org/
mod_version=2.0.0
mod_version=2.0.1
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,10 @@ public void setupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float
this.leftArm.xRot = -1.8F;
}
}
this.leftPants.copyFrom(this.leftLeg);
this.rightPants.copyFrom(this.rightLeg);
this.leftSleeve.copyFrom(this.leftArm);
this.rightSleeve.copyFrom(this.rightArm);
this.jacket.copyFrom(this.body);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ public void performRangedAttack(LivingEntity target, float distanceFactor) {
if (this.getItemShownOnOffhand().getItem() instanceof TippedArrowItem)
itemstack = this.getItemShownOnOffhand();
AbstractArrow abstractarrowentity = ProjectileUtil.getMobArrow(this, itemstack, distanceFactor, this.getMainHandItem());
if (this.getMainHandItem().getItem() instanceof net.minecraft.world.item.BowItem)
abstractarrowentity = ((net.minecraft.world.item.BowItem) this.getMainHandItem().getItem()).customArrow(abstractarrowentity, this.getMainHandItem());
abstractarrowentity = ((net.minecraft.world.item.BowItem) this.getMainHandItem().getItem()).customArrow(abstractarrowentity, itemstack, this.getMainHandItem());
double d0 = target.getX() - this.getX();
double d1 = target.getY(0.3333333333333333D) - abstractarrowentity.getY();
double d2 = target.getZ() - this.getZ();
Expand Down

0 comments on commit 615bd54

Please sign in to comment.