Port to 1.19.4
This commit is contained in:
@@ -33,12 +33,12 @@ dependencies {
|
||||
implementation 'org.joml:joml:1.10.4'*/
|
||||
|
||||
// Shimmer
|
||||
modImplementation ("com.lowdragmc.shimmer:Shimmer-fabric-1.19.1:${shimmer_version}") {
|
||||
/*modImplementation ("com.lowdragmc.shimmer:Shimmer-fabric-1.19.1:${shimmer_version}") {
|
||||
exclude(group: "net.fabricmc.fabric-api")
|
||||
}
|
||||
}*/
|
||||
|
||||
// The One Probe Fabric
|
||||
modCompileOnly("mcjty.theoneprobe:theoneprobe-fabric:${top_fabric}")
|
||||
//modCompileOnly("mcjty.theoneprobe:theoneprobe-fabric:${top_fabric}")
|
||||
|
||||
// WTHIT
|
||||
// compile against the API
|
||||
@@ -46,7 +46,7 @@ dependencies {
|
||||
|
||||
// run against the full jar
|
||||
modRuntimeOnly "mcp.mobius.waila:wthit:fabric-${wthitVersion}"
|
||||
modRuntimeOnly "lol.bai:badpackets:fabric-0.2.0"
|
||||
modRuntimeOnly "lol.bai:badpackets:fabric-0.4.1"
|
||||
}
|
||||
|
||||
loom {
|
||||
|
@@ -1,15 +1,10 @@
|
||||
package me.hypherionmc.hyperlighting.common.integration.top;
|
||||
|
||||
import mcjty.theoneprobe.api.IProbeConfig;
|
||||
import mcjty.theoneprobe.api.ITheOneProbe;
|
||||
import mcjty.theoneprobe.api.ITheOneProbePlugin;
|
||||
import me.hypherionmc.hyperlighting.common.integration.top.overrides.TOPCampfireInfoProvider;
|
||||
|
||||
/**
|
||||
* @author HypherionSA
|
||||
* @date 27/08/2022
|
||||
*/
|
||||
public class TOPIntegration implements ITheOneProbePlugin {
|
||||
/*public class TOPIntegration implements ITheOneProbePlugin {
|
||||
|
||||
private static ITheOneProbe theOneProbe;
|
||||
|
||||
@@ -23,4 +18,4 @@ public class TOPIntegration implements ITheOneProbePlugin {
|
||||
public static IProbeConfig getProbeConfig() {
|
||||
return theOneProbe.createProbeConfig();
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
@@ -1,24 +1,10 @@
|
||||
package me.hypherionmc.hyperlighting.common.integration.top.overrides;
|
||||
|
||||
import mcjty.theoneprobe.api.*;
|
||||
import me.hypherionmc.hyperlighting.Constants;
|
||||
import me.hypherionmc.hyperlighting.common.blockentities.AdvancedCampfireBlockEntity;
|
||||
import me.hypherionmc.hyperlighting.common.integration.top.TOPIntegration;
|
||||
import net.fabricmc.loader.api.FabricLoader;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.level.Level;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
|
||||
import static mcjty.theoneprobe.api.IProbeConfig.ConfigMode.EXTENDED;
|
||||
import static mcjty.theoneprobe.api.IProbeConfig.ConfigMode.NORMAL;
|
||||
import static mcjty.theoneprobe.api.TextStyleClass.MODNAME;
|
||||
|
||||
/**
|
||||
* @author HypherionSA
|
||||
* @date 27/08/2022
|
||||
*/
|
||||
public class TOPCampfireInfoProvider implements IBlockDisplayOverride {
|
||||
/*public class TOPCampfireInfoProvider implements IBlockDisplayOverride {
|
||||
|
||||
@Override
|
||||
public boolean overrideStandardInfo(ProbeMode probeMode, IProbeInfo iProbeInfo, Player playerEntity, Level world, BlockState blockState, IProbeHitData iProbeHitData) {
|
||||
@@ -57,4 +43,4 @@ public class TOPCampfireInfoProvider implements IBlockDisplayOverride {
|
||||
private boolean show(ProbeMode mode, IProbeConfig.ConfigMode cfg) {
|
||||
return cfg == NORMAL || (cfg == EXTENDED && mode == ProbeMode.EXTENDED);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
@@ -36,9 +36,9 @@
|
||||
"depends": {
|
||||
"fabricloader": ">=0.14",
|
||||
"fabric": "*",
|
||||
"minecraft": "1.19.2",
|
||||
"minecraft": ">=1.19.4",
|
||||
"java": ">=17",
|
||||
"craterlib": "*"
|
||||
"craterlib": "0.0.x"
|
||||
},
|
||||
"custom": {
|
||||
"waila:plugins": {
|
||||
|
Reference in New Issue
Block a user