Skip to content

Instantly share code, notes, and snippets.

FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file '/home/des/forge/1.16.5/ModularRouters/build.gradle' line: 26
* What went wrong:
A problem occurred evaluating root project 'ModularRouters'.
buildscript {
repositories {
maven { url = 'https://files.minecraftforge.net/maven' }
maven { url = 'https://maven.parchmentmc.org' }
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
classpath 'org.parchmentmc:librarian:1.+'
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4+"
@desht
desht / convmodel.pl
Last active February 23, 2022 11:20
Convmodel.pl : rough & ready Perl script to convert MC 1.16 Java entity models to MC 1.17+ format
#!/usr/bin/perl
#
# Usage: convmodel.pl < YourOldModel.java
#
# Looks for declarations & instatiations of ModelRenderer, then any calls to
# .setPos(), .addBox() etc. and converts those to MC 1.17+ equivalents
#
# Spits out a new constructor for your model class, and a static createBodyLayer()
# method suitable for using when you register your layer definitions in your
# EntityRenderersEvent.RegisterLayerDefinitions event listener
[12:13:37] [Server thread/ERROR] [minecraft/PoolElementStructurePiece]: Element Reference{ResourceKey[minecraft:worldgen/processor_list / minecraft:empty]=ProcessorList[[]]} is not valid in current registry set
[12:13:41] [Server thread/ERROR] [minecraft/PoolElementStructurePiece]: Input does not contain a key [element_type]: MapLike[{}]
[12:13:41] [Server thread/ERROR] [minecraft/PiecesContainer]: Exception loading structure piece with id minecraft:jigsaw
java.lang.IllegalStateException: Invalid pool element found
at net.minecraft.world.level.levelgen.structure.PoolElementStructurePiece.lambda$new$0(PoolElementStructurePiece.java:54) ~[forge-1.18.2-40.0.12_mapped_parchment_1.18.1-2022.03.06-1.18.2.jar%2376!/:?] {re:classloading}
at java.util.Optional.orElseThrow(Optional.java:403) ~[?:?] {}
at net.minecraft.world.level.levelgen.structure.PoolElementStructurePiece.<init>(PoolElementStructurePiece.java:54) ~[forge-1.18.2-40.0.12_mapped_parchment_1.18.1-2022.03.06-1.18.2.jar%2376!/:?] {re:classloading}
at n
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fc5e55df755, pid=28694, tid=28916
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.1+12 (17.0.1+12) (build 17.0.1+12)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (17.0.1+12, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [spark-2493763222547602601-libasyncProfiler.so.tmp+0x23755] DwarfParser::parseInstructions(unsigned int, char const*)+0x55
#
private static void oilLakeDatagen(GatherDataEvent event, DataGenerator generator, ExistingFileHelper existingFileHelper, RegistryOps<JsonElement> registryOps) {
// oil lake configured feature
ConfiguredFeature<?,?> oilLakeCF = new ConfiguredFeature<>(
Feature.LAKE,
new LakeFeature.Configuration(
BlockStateProvider.simple(ModBlocks.OIL.get().defaultBlockState()),
BlockStateProvider.simple(Blocks.AIR.defaultBlockState())
)
);
JsonCodecProvider<ConfiguredFeature<?,?>> cfProvider = JsonCodecProvider.forDatapackRegistry(
[18Jul2022 09:52:27.564] [Netty Epoll Server IO #2/ERROR] [mezz.jei.common.network.ServerPacketRouter/]: Packet error when reading packet: GIVE_ITEM
java.util.ServiceConfigurationError: mezz.jei.common.platform.IPlatformHelper: Provider mezz.jei.forge.platform.PlatformHelper could not be instantiated
at java.util.ServiceLoader.fail(ServiceLoader.java:586) ~[?:?]
at java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:813) ~[?:?]
at java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:729) ~[?:?]
at java.util.ServiceLoader$3.next(ServiceLoader.java:1403) ~[?:?]
at java.util.ServiceLoader.findFirst(ServiceLoader.java:1812) ~[?:?]
at mezz.jei.common.platform.Services.load(Services.java:15) ~[jei-1.19-forge-11.0.0.225.jar%2395!/:11.0.0.225]
at mezz.jei.common.platform.Services.<clinit>(Services.java:11) ~[jei-1.19-forge-11.0.0.225.jar%2395!/:11.0.0.225]
at mezz.jei.common.util.ServerCommandUtil.canStack(ServerCommandUtil.java:168) ~[jei-1.19-forge-11.0.0.225.jar%2395!/:11.0.0.225]
[09:15:53] [Thread-0/ERROR] [ne.mi.fm.ja.FMLModContainer/]: Exception caught during firing event: Cannot get config value before config is loaded.
This error is currently only thrown in the development environment, to avoid breaking published mods.
In a future version, this will also throw in the production environment.
Index: 1
Listeners:
0: NORMAL
1: net.minecraftforge.eventbus.EventBus$$Lambda$4398/0x00000008016acf90@33a84c88
java.lang.IllegalStateException: Cannot get config value before config is loaded.
This error is currently only thrown in the development environment, to avoid breaking published mods.
[17:26:17] [Netty Epoll Server IO #2/ERROR] [ne.mi.fm.lo.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER
[17:26:17] [Netty Epoll Server IO #2/ERROR] [me.je.co.ne.ServerPacketRouter/]: Packet error when reading packet: DELETE_ITEM
java.util.ServiceConfigurationError: mezz.jei.common.platform.IPlatformHelper: Provider mezz.jei.forge.platform.PlatformHelper could not be instantiated
at java.util.ServiceLoader.fail(ServiceLoader.java:586) ~[?:?] {}
at java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:813) ~[?:?] {}
at java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:729) ~[?:?] {}
at java.util.ServiceLoader$3.next(ServiceLoader.java:1403) ~[?:?] {}
at java.util.ServiceLoader.findFirst(ServiceLoader.java:1812) ~[?:?] {}
at mezz.jei.common.platform.Services.load(Services.java:15) ~[jei-1.19.2-forge-11.2.0.256.jar%2398!/:11.2.0.256] {re:classloading}
at mezz.jei.common.platform.Services.<clinit>(Servi
[10:10:34] [Server thread/ERROR] (net.minecraft.server.MinecraftServer) Encountered an unexpected exception
java.lang.NullPointerException: null
at net.minecraftforge.common.util.LazyOptional.orElseThrow(LazyOptional.java:130) ~[forge-1.18.2-40.1.73-minecraft-merged-named.jar%2368
%2375!/:?]
at moze_intel.projecte.impl.TransmutationProxyImpl.getKnowledgeProviderFor(TransmutationProxyImpl.java:37) ~[projecte-226410-3722831.jar
%2376!/:1.0.1]
at dev.latvian.mods.projectex.inventory.LinkOutputHandler.getStackInSlot(LinkOutputHandler.java:83) ~[%2374!/:?]
at dev.latvian.mods.projectex.block.entity.AbstractLinkInvBlockEntity$WrappedItemHandler.getStackInSlot(AbstractLinkInvBlockEntity.java:
165) ~[%2374!/:?]
at com.refinedmods.refinedstorage.apiimpl.storage.externalstorage.ItemExternalStorageCache.update(ItemExternalStorageCache.java:42) ~[re