[Feature] Support for Fabric Launcher 15.x (#322, #318, quiqueck/BCLib#136, quiqueck/BCLib#137, quiqueck/BCLib#138)
This commit is contained in:
parent
53223d1a35
commit
06cf607468
2 changed files with 0 additions and 8 deletions
|
@ -16,15 +16,12 @@ import net.minecraft.world.level.block.FallingBlock;
|
|||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.level.storage.loot.LootParams;
|
||||
|
||||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
public class EndstoneDustBlock extends FallingBlock implements TagProvider, BehaviourSand {
|
||||
@Environment(EnvType.CLIENT)
|
||||
private static final int COLOR = ColorUtil.color(226, 239, 168);
|
||||
|
||||
public EndstoneDustBlock() {
|
||||
|
@ -40,7 +37,6 @@ public class EndstoneDustBlock extends FallingBlock implements TagProvider, Beha
|
|||
return Collections.singletonList(new ItemStack(this));
|
||||
}
|
||||
|
||||
@Environment(EnvType.CLIENT)
|
||||
public int getDustColor(BlockState state, BlockGetter world, BlockPos pos) {
|
||||
return COLOR;
|
||||
}
|
||||
|
|
|
@ -6,9 +6,6 @@ import org.betterx.bclib.config.IdConfig;
|
|||
import org.betterx.bclib.config.PathConfig;
|
||||
import org.betterx.betterend.BetterEnd;
|
||||
|
||||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
|
||||
public class Configs {
|
||||
public static final PathConfig ENTITY_CONFIG = new PathConfig(BetterEnd.MOD_ID, "entities");
|
||||
public static final PathConfig BLOCK_CONFIG = new PathConfig(BetterEnd.MOD_ID, "blocks");
|
||||
|
@ -18,7 +15,6 @@ public class Configs {
|
|||
public static final PathConfig RECIPE_CONFIG = new PathConfig(BetterEnd.MOD_ID, "recipes");
|
||||
public static final PathConfig ENCHANTMENT_CONFIG = new PathConfig(BetterEnd.MOD_ID, "enchantments");
|
||||
|
||||
@Environment(value = EnvType.CLIENT)
|
||||
public static final PathConfig CLENT_CONFIG = new PathConfig(BetterEnd.MOD_ID, "client", false);
|
||||
|
||||
public static void saveConfigs() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue