Compare commits

..
3 Commits
Author SHA1 Message Date
Martin Robertz 501cca5fd2 update 2024-10-20 11:42:08 +02:00
MeegooandMartin Robertz 7ec71bdcc9 Reset fall damage when holding shift or space with wings (#85)
Co-authored-by: Martin Robertz <[email protected]>
2024-10-20 11:41:35 +02:00
Alexdoruandgithub-actions[bot] c450204272 Multi ToolTip unification (#86)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-14 16:30:02 +02:00
4 changed files with 9 additions and 9 deletions

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
// Add your dependencies here
dependencies {
compileOnly 'com.github.GTNewHorizons:GT5-Unofficial:5.09.49.68:dev'
compileOnly 'com.github.GTNewHorizons:GT5-Unofficial:5.09.50.45:dev'
api 'com.github.GTNewHorizons:Baubles:1.0.4:dev'
api 'com.github.GTNewHorizons:ModularUI:1.2.2:dev'
api 'com.github.GTNewHorizons:ModularUI:1.2.11:dev'
api ('com.github.GTNewHorizons:ThaumicBoots:1.3.9:dev'){
exclude group: 'com.github.GTNewHorizons', module: 'Electro-Magic-Tools'
}
@@ -534,6 +534,7 @@ public class ItemInfusedQuantumChestplate extends ItemArmorElectric implements I
if (isJumping && !player.onGround && player.motionY < 0) {
player.motionY *= f1;
player.fallDistance = 0;
}
if (player.isInWater() && !player.capabilities.isCreativeMode) {
@@ -555,9 +556,6 @@ public class ItemInfusedQuantumChestplate extends ItemArmorElectric implements I
if (player.isSneaking() && !player.onGround && player.motionY < 0) {
player.motionY *= 0.6;
}
if (player.fallDistance > 0.0F) {
player.fallDistance = 0;
}
}
@@ -107,6 +107,7 @@ public class ItemFeatherWing extends ItemArmor implements IRunicArmor {
if (isJumping && !player.onGround && player.motionY < 0) {
player.motionY *= f1;
player.fallDistance = 0;
}
if (player.isInWater() && !player.capabilities.isCreativeMode) {
@@ -124,6 +125,7 @@ public class ItemFeatherWing extends ItemArmor implements IRunicArmor {
if (player.isSneaking() && !player.onGround && player.motionY < 0) {
player.motionY *= 0.6;
player.fallDistance = 0;
}
}
@@ -359,14 +359,14 @@ public class GT_MetaTileEntity_ResearchCompleter
@Override
protected MultiblockTooltipBuilder createTooltip() {
MultiblockTooltipBuilder tt = new MultiblockTooltipBuilder();
tt.addMachineType("Research Completer").addInfo("Controller block for the Research Completer")
tt.addMachineType("Research Completer")
.addInfo("Completes Thaumcraft research notes using EU and Thaumcraft nodes")
.addInfo("Place nodes in the center row").addSeparator()
.beginVariableStructureBlock(3, 3, 3, 3, 3, MAX_LENGTH, true).addController("Front center")
.addInfo("Place nodes in the center row").beginVariableStructureBlock(3, 3, 3, 3, 3, MAX_LENGTH, true)
.addController("Front center")
.addOtherStructurePart("Magical machine casing", "Top and bottom layers outside. 3 x L minimum")
.addOtherStructurePart("Warded glass", "Middle layer outside").addEnergyHatch("Any casing")
.addMaintenanceHatch("Any casing").addInputBus("Any casing").addOutputBus("Any casing")
.toolTipFinisher("Electro-Magic Tools");
.toolTipFinisher();
return tt;
}