Compare commits

..
4 Commits
Author SHA1 Message Date
Martin Robertz 01abdf297c fix star imports 2025-06-29 14:33:06 +02:00
Martin Robertz 36347a3fd1 update deps 2025-06-29 14:28:42 +02:00
Martin Robertz 6ee5691108 sa 2025-06-29 14:28:34 +02:00
mamePi d5e9214eea added functions into kami boots
added keyconfig of speed control, jump control, flight inertia cancelling and omnidirectional movement.
2025-06-29 17:25:25 +09:00
2 changed files with 6 additions and 7 deletions

No files matched your search

+3 -3
View File
@@ -3,7 +3,7 @@
dependencies {
api('com.github.GTNewHorizons:Baubles-Expanded:2.1.9-GTNH:dev')
api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev')
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-652-GTNH:api')
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-649-GTNH:api')
api('com.github.GTNewHorizons:ThaumicBoots:1.4.7:dev') {
exclude group: 'com.github.GTNewHorizons', module: 'Electro-Magic-Tools'
exclude module: 'Baubles'
@@ -15,11 +15,11 @@ dependencies {
compileOnly('com.github.GTNewHorizons:EnderStorage:1.7.3:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:waila:1.8.10:api') {transitive=false}
compileOnly('com.github.GTNewHorizons:TinkersConstruct:1.13.40-GTNH:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:ForgeMultipart:1.6.7:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:ForgeMultipart:1.6.6:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:CodeChickenCore:1.4.3:dev') {transitive=false}
compileOnly('com.github.GTNewHorizons:OpenComputers:1.11.16-GTNH:api') {transitive=false}
compileOnly('net.industrial-craft:industrialcraft-2:2.2.828-experimental:api') {transitive=false}
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.368:dev") {transitive=false}
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.362:dev") {transitive=false}
compileOnly('curse.maven:computercraft-67504:2269339')
compileOnly('curse.maven:cofh-core-69162:2388751')
@@ -20,7 +20,6 @@ import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import net.minecraftforge.event.entity.living.LivingEvent.LivingJumpEvent;
import net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent;
@@ -77,9 +76,9 @@ public class ItemGemBoots extends ItemIchorclothArmorAdv implements IBoots {
player.fallDistance = 0F;
if (ConfigHandler.shouldKamiBootsDoGrass) {
int x = MathHelper.floor_double(player.posX);
int y = MathHelper.floor_double(player.posY) - 1;
int z = MathHelper.floor_double(player.posZ);
int x = (int) player.posX;
int y = (int) player.posY - 1;
int z = (int) player.posZ;
if (player.worldObj.getBlock(x, y, z) == Blocks.dirt && player.worldObj.getBlockMetadata(x, y, z) == 0)
player.worldObj.setBlock(x, y, z, Blocks.grass, 0, 2);
}