Skip to content

Commit

Permalink
1.15.1 -> 1.15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Jan 28, 2020
1 parent 274d13a commit 28f78f9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ org.gradle.daemon=false

# Fabric Properties
# check these on https://fabricmc.net/use
minecraft_version=1.15.1
yarn_mappings=1.15.1+build.26:v2
loader_version=0.7.3+build.176
minecraft_version=1.15.2
yarn_mappings=1.15.2+build.7:v2
loader_version=0.7.6+build.180

# Mod Properties
group=com.minelittlepony
Expand All @@ -17,6 +17,6 @@ org.gradle.daemon=false

# Dependencies
modmenu_version=1.8.+
kirin_version=1.5.1-1.15.1-SNAPSHOT
hd_skins_version=6.1-1.15.1-SNAPSHOT
mson_version=1.1.8-1.15.1-SNAPSHOT
kirin_version=1.5.2-1.15.2-SNAPSHOT
hd_skins_version=6.1-1.15.2-SNAPSHOT
mson_version=1.1.8-1.15.2-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ public void setAngles(T entity, float move, float swing, float ticks, float head
centerFin.roll = flapMotion;
}

if (!entity.isInWater()) {
if (!entity.isSubmergedInWater()) {
leftArm.pitch -= 0.5F;
rightArm.pitch -= 0.5F;
}

if (!entity.isInWater() || entity.onGround) {
if (!entity.isSubmergedInWater() || entity.onGround) {
leftArm.yaw -= 0.5F;
rightArm.yaw += 0.5F;
}
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/minelittlepony/client/pony/Pony.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public boolean isFlying(LivingEntity entity) {
return !(isOnGround(entity)
|| entity.hasVehicle()
|| (entity.isClimbing() && !(entity instanceof PlayerEntity && ((PlayerEntity)entity).abilities.allowFlying))
|| entity.isInWater()
|| entity.isSubmergedInWater()
|| entity.isSleeping());
}

Expand Down Expand Up @@ -111,13 +111,13 @@ public boolean isSwimming(LivingEntity entity) {

@Override
public boolean isPartiallySubmerged(LivingEntity entity) {
return entity.isInWater()
return entity.isSubmergedInWater()
|| entity.getEntityWorld().getBlockState(entity.getBlockPos()).getMaterial() == Material.WATER;
}

@Override
public boolean isFullySubmerged(LivingEntity entity) {
return entity.isInWater()
return entity.isSubmergedInWater()
&& entity.getEntityWorld().getBlockState(new BlockPos(getVisualEyePosition(entity))).getMaterial() == Material.WATER;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void render(IllusionerEntity entity, float entityYaw, float tickDelta, Ma
}

@Override
protected boolean method_4056(IllusionerEntity entity, boolean xray) {
protected boolean method_4056(IllusionerEntity entity) {
return true;
}
}
Expand Down

0 comments on commit 28f78f9

Please sign in to comment.