3 Commits

Author SHA1 Message Date
Motschen
46696cd130 Disable unfinished code
Fixes #1
2021-07-07 17:03:51 +02:00
Motschen
7a33ed2d6e Update README.md 2021-07-03 17:44:04 +02:00
Motschen
49aeac05fd Update README.md 2021-07-03 17:40:07 +02:00
2 changed files with 16 additions and 3 deletions

View File

@@ -1,2 +1,15 @@
# Nauticality
Explore the oceans with submarines, fight against pirates and watch the beautiful glow fish!
<div align="center"> <h1>Nauticality</h1>
Explore the oceans with submarines, fight against pirates and watch the beautiful glow fish!
Nauticality is TeamMidnightDust's submission for ModFest 1.17: BGDC
The mod is focused on enhancing ocean exploration with new blocks, mobs, vehicles and structures.
Use the new submarine to view the beautiful glow fish and loot pirate ships that spawn throughout the minecraft world.
![Submarine](https://media.discordapp.net/attachments/851900313409552394/860898179355508766/2021-07-03_11.45.40.png)
![Pirate Ship](https://media.discordapp.net/attachments/808287286022242314/860900982636019772/2021-06-20_19.07.25.png)
![Swamp](https://media.discordapp.net/attachments/808287286022242314/860901834469539840/2021-07-03_17.16.22.png)
</div>

View File

@@ -37,7 +37,7 @@ public class SubmarineRenderer extends EntityRenderer<SubmarineEntity> implement
matrixStack.push(); matrixStack.push();
matrixStack.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion(180F - yaw)); matrixStack.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion(180F - yaw));
matrixStack.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion(180F)); matrixStack.multiply(Vec3f.POSITIVE_Y.getDegreesQuaternion(180F));
matrixStack.multiply(Vec3f.POSITIVE_Z.getDegreesQuaternion((yaw - entity.prevRoll)*8)); //matrixStack.multiply(Vec3f.POSITIVE_Z.getDegreesQuaternion((yaw - entity.prevRoll)*8));
entity.prevRoll = yaw; entity.prevRoll = yaw;
matrixStack.multiply(Vec3f.POSITIVE_X.getDegreesQuaternion(180.0F + pitch)); matrixStack.multiply(Vec3f.POSITIVE_X.getDegreesQuaternion(180.0F + pitch));
matrixStack.translate(0.0D , -1.75D, -0.5D + (90 + entity.getPitch()) * 0.01f); matrixStack.translate(0.0D , -1.75D, -0.5D + (90 + entity.getPitch()) * 0.01f);