Skip to content

Commit 825b5a8

Browse files
authored
Merge pull request #36 from 1whohears/1.19.2-dev
1.19.2 dev v0.8.2
2 parents da36a5f + 442ead7 commit 825b5a8

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ apply plugin: 'maven-publish'
1818

1919
group = 'com.onewhohears.dscombat'
2020
archivesBaseName = 'dscombat-1.19.2'
21-
version = '0.8.1'
21+
version = '0.8.2'
2222

2323
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
2424

src/main/java/com/onewhohears/dscombat/entity/aircraft/EntityAircraft.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,9 +786,13 @@ public void addMoment(Vec3 moment, boolean control) {
786786
double x = moment.x, y = moment.y, z = moment.z;
787787
if (control) {
788788
Vec3 av = getAngularVel();
789-
x = getControlMomentComponent(m.x, moment.x, av.x, getControlMaxDeltaPitch(), Ix);
789+
// FIXME 2 this is causing rotations to not be smooth reverting to origional
790+
/*x = getControlMomentComponent(m.x, moment.x, av.x, getControlMaxDeltaPitch(), Ix);
790791
y = getControlMomentComponent(m.y, moment.y, av.y, getControlMaxDeltaYaw(), Iy);
791-
z = getControlMomentComponent(m.z, moment.z, av.z, getControlMaxDeltaRoll(), Iz);
792+
z = getControlMomentComponent(m.z, moment.z, av.z, getControlMaxDeltaRoll(), Iz);*/
793+
x = getControlMomentComponent(m.x, moment.x, av.x, getMaxDeltaPitch(), Ix);
794+
y = getControlMomentComponent(m.y, moment.y, av.y, getMaxDeltaYaw(), Iy);
795+
z = getControlMomentComponent(m.z, moment.z, av.z, getMaxDeltaRoll(), Iz);
792796
}
793797
setMoment(m.add(x, y, z));
794798
}

src/main/resources/data/dscombat/recipes/bomb_rack.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "minecraft:crafting_shaped",
33
"key": {
44
"L": {
5-
"item": "minecraft:level"
5+
"item": "minecraft:lever"
66
},
77
"D": {
88
"item": "minecraft:dropper"

src/main/resources/data/dscombat/recipes/heavy_fuel_tank.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"item": "minecraft:smooth_stone"
99
},
1010
"C": {
11-
"item": "dscombat:cauldron"
11+
"item": "minecraft:cauldron"
1212
}
1313
},
1414
"pattern": [

src/main/resources/data/dscombat/recipes/large_propeller.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
"P": {
55
"item": "dscombat:propeller"
66
},
7-
"B": {
8-
"item": "minecraft:iron_block"
9-
},
107
"I": {
118
"item": "minecraft:iron_ingot"
129
}

0 commit comments

Comments
 (0)