Skip to content

Commit

Permalink
Update template
Browse files Browse the repository at this point in the history
  • Loading branch information
tr7zw committed Jan 14, 2024
1 parent 733276d commit f60eec8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 238 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ src/main/neoforge-resources/META-INF/mods.toml
**/src/main/java/dev/tr7zw/config/CustomConfigScreen.java
**/src/main/java/dev/tr7zw/util/ComponentProvider.java
src/main/resources/pack.mcmeta
src/main/java/dev/tr7zw/util/NMSHelper.java
src/main/java/dev/tr7zw/util/ModLoaderUtil.java
8 changes: 1 addition & 7 deletions src/main/java/dev/tr7zw/firstperson/LogicHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,7 @@ public void updatePositionOffset(Entity player, Vec3 defValue) {
((LivingEntity) abstractClientPlayerEntity_1.getVehicle()).yBodyRot);
} else {
realYaw = Mth.rotLerp(client.getFrameTime(), abstractClientPlayerEntity_1.getVehicle().yRotO,
// spotless:off
//#if MC >= 11700
abstractClientPlayerEntity_1.getVehicle().getYRot());
//#else
//$$ abstractClientPlayerEntity_1.getVehicle().yRot);
//#endif
//spotless:on
NMSHelper.getYRot(abstractClientPlayerEntity_1.getVehicle()));
}
bodyOffset = Constants.inVehicleBodyOffset + (FirstPersonModelCore.config.sitXOffset / 100f);
} else {
Expand Down
168 changes: 0 additions & 168 deletions src/main/java/dev/tr7zw/util/ModLoaderUtil.java

This file was deleted.

63 changes: 0 additions & 63 deletions src/main/java/dev/tr7zw/util/NMSHelper.java

This file was deleted.

0 comments on commit f60eec8

Please sign in to comment.