From f4ee738f390d06187aafc133fc19db8002c09582 Mon Sep 17 00:00:00 2001 From: khj xiaogu <54445543+khjxiaogu@users.noreply.github.com> Date: Tue, 26 Oct 2021 00:35:56 +0800 Subject: [PATCH 1/2] added gantry shaft default stress --- src/main/java/com/teammoeg/steampowered/SteamPowered.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/teammoeg/steampowered/SteamPowered.java b/src/main/java/com/teammoeg/steampowered/SteamPowered.java index e4c0ce4..c582914 100644 --- a/src/main/java/com/teammoeg/steampowered/SteamPowered.java +++ b/src/main/java/com/teammoeg/steampowered/SteamPowered.java @@ -18,6 +18,7 @@ package com.teammoeg.steampowered; +import com.simibubi.create.foundation.block.BlockStressDefaults; import com.simibubi.create.foundation.data.CreateRegistrate; import com.simibubi.create.repack.registrate.util.NonNullLazyValue; import com.teammoeg.steampowered.client.SteamPoweredClient; @@ -80,7 +81,7 @@ public class SteamPowered { SPBlocks.register(); SPTiles.register(); SPItems.register(); - + BlockStressDefaults.setDefaultImpact(new ResourceLocation("create","gantry_shaft"),8.0); ModLoadingContext.get().registerConfig(ModConfig.Type.COMMON, SPConfig.COMMON_CONFIG); ModLoadingContext.get().registerConfig(ModConfig.Type.SERVER, SPConfig.SERVER_CONFIG); PacketHandler.register(); From 9fe2870a76c4a5d6e3b985bdfea605278c6c7841 Mon Sep 17 00:00:00 2001 From: khj xiaogu <54445543+khjxiaogu@users.noreply.github.com> Date: Tue, 26 Oct 2021 01:05:19 +0800 Subject: [PATCH 2/2] Too Easy --- src/main/java/com/teammoeg/steampowered/SteamPowered.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/teammoeg/steampowered/SteamPowered.java b/src/main/java/com/teammoeg/steampowered/SteamPowered.java index c582914..dd0597c 100644 --- a/src/main/java/com/teammoeg/steampowered/SteamPowered.java +++ b/src/main/java/com/teammoeg/steampowered/SteamPowered.java @@ -81,7 +81,7 @@ public class SteamPowered { SPBlocks.register(); SPTiles.register(); SPItems.register(); - BlockStressDefaults.setDefaultImpact(new ResourceLocation("create","gantry_shaft"),8.0); + BlockStressDefaults.setDefaultImpact(new ResourceLocation("create","gantry_shaft"),32.0); ModLoadingContext.get().registerConfig(ModConfig.Type.COMMON, SPConfig.COMMON_CONFIG); ModLoadingContext.get().registerConfig(ModConfig.Type.SERVER, SPConfig.SERVER_CONFIG); PacketHandler.register();