Jump to content

Recommended Posts

Posted

Idk why, i push to start and just doesn't do it. I have like +90, i recently do a update of mods, i brought new ones and this beggins to happen. After the first crashes (libreries, incompatibility, etc) i delete some problematic mods, no receive none crashes, except this one



28.11 17:13:31 [Multicraft] Received restart command
28.11 17:13:31 [Multicraft] Server stopped
28.11 17:13:34 [Multicraft] Loading server properties
28.11 17:13:34 [Multicraft] Starting server!
28.11 17:13:34 [Multicraft] Loaded config for "Forge-1.19.2-43.1.47.conf"
28.11 17:13:34 [Multicraft] JAR file not found, copying from global JAR directory
28.11 17:13:34 [Multicraft] Failed to copy jarfile from global JAR directory
28.11 17:13:34 [Multicraft] Updating eula.txt file
28.11 17:13:35 [Server] INFO 2022-11-28 17:13:35,947 main WARN Advanced terminal features are not available in this environment
28.11 17:13:36 [Server] main/INFO [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.1.47, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853, $@]
28.11 17:13:36 [Server] main/INFO [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17 by Oracle Corporation; OS Linux arch amd64 version 5.4.0-121-generic
28.11 17:13:36 [Server] main/INFO [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER
28.11 17:13:36 [Server] main/WARN [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /libraries/net/minecraftforge/fmlcore/1.19.2-43.1.47/fmlcore-1.19.2-43.1.47.jar is missing mods.toml file
28.11 17:13:36 [Server] main/WARN [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /libraries/net/minecraftforge/javafmllanguage/1.19.2-43.1.47/javafmllanguage-1.19.2-43.1.47.jar is missing mods.toml file
28.11 17:13:36 [Server] main/WARN [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.1.47/lowcodelanguage-1.19.2-43.1.47.jar is missing mods.toml file
28.11 17:13:36 [Server] main/WARN [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /libraries/net/minecraftforge/mclanguage/1.19.2-43.1.47/mclanguage-1.19.2-43.1.47.jar is missing mods.toml file
28.11 17:13:37 [Server] main/INFO [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 9 dependencies adding them to mods collection
28.11 17:13:40 [Server] main/INFO [mixin/]: Compatibility level set to JAVA_17
28.11 17:13:40 [Server] main/INFO [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments [$@]
28.11 17:13:40 [Server] main/WARN [mixin/]: Reference map 'immersive_paintings-common-refmap.json' for immersive_paintings.mixin.json could not be read. If this is a development environment you can ignore this message
28.11 17:13:44 [Server] main/INFO [minecraft/DataFixers]: Building unoptimized datafixer
28.11 17:13:45 [Server] main/WARN [mixin/]: @ModifyConstant conflict. Skipping repurposed_structures.mixins.json:structures.StructurePoolMixin->@ModifyConstant::repurposedstructures_increaseWeightLimitDev(I)I with priority 1000, already redirected by yungsapi_forge.mixins.json:IncreaseStructureWeightLimitMixinForge->@ModifyConstant::yungsapi_increaseWeightLimit(I)I with priority 1000
28.11 17:13:46 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Paragon has been initialized
28.11 17:13:46 [Server] modloading-worker-0/INFO [de.un.qu.Quarry/]: [quarry] Initialization
28.11 17:13:47 [Server] modloading-worker-0/INFO [Dungeon Crawl/]: Here we go! Launching Dungeon Crawl 2.3.11...
28.11 17:13:47 [Server] modloading-worker-0/INFO [de.ge.ma.co.ClientConfig/]: Loading "ManyIdeas Core" Client Config
28.11 17:13:47 [Server] modloading-worker-0/INFO [de.ge.ma.co.ClientConfig/]: [debug_blocks] = false
28.11 17:13:47 [Server] modloading-worker-0/INFO [de.ge.ma.co.ClientConfig/]: [all_colors_in_item_group] = true
28.11 17:13:47 [Server] modloading-worker-0/INFO [de.ge.ma.co.ClientConfig/]: "ManyIdeas Core" Config loaded
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.co.li.LibraryFerret/]: libraryferret - > Initialize library
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Registered deeperdarker
28.11 17:13:47 [Server] Modding Legacy/blue_skies/Supporters thread/INFO [ModdingLegacy/blue_skies/Supporter/]: Attempting to load the Modding Legacy supporters list from https://moddinglegacy.com/supporters-changelogs/supporters.txt
28.11 17:13:47 [Server] modloading-worker-0/INFO [xy.ap.fo.co.Mo.CommonalityMod/]: Running Minecraft '1.19.2', & Forge '43.1.47' on Java '17, Oracle Corporation'
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Set value of warden_armor_durability for deeperdarker
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Set value of warden_armor_toughness for deeperdarker
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Set value of warden_armor_knockback_resistance for deeperdarker
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Set value of soul_elytra_armor_modifier for deeperdarker
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Set value of warden_tools_durability for deeperdarker
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Set value of warden_tools_speed for deeperdarker
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Set value of warden_tools_damage for deeperdarker
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Set value of shattered_spawning for deeperdarker
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Set value of phantom_spawning for deeperdarker
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Set value of sculk_snapper_spawning for deeperdarker
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Set value of sculk_centipede_spawning for deeperdarker
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.ky.pa.Paragon/]: Set value of sculk_blocks_in_otherside for deeperdarker
28.11 17:13:47 [Server] modloading-worker-0/INFO [TrustedSourceList/]: Loading BlackListed sources from remote... (https://api.stopmodreposts.org/minecraft/sites.txt)
28.11 17:13:47 [Server] INFO [net.valhelsia.valhelsia_core.core.registry.helper.RegistryHelper@2e1741a6, net.valhelsia.valhelsia_core.core.registry.helper.RegistryHelper@452bb3c0, net.valhelsia.valhelsia_core.core.registry.helper.RegistryHelper@6810b39e]
28.11 17:13:47 [Server] modloading-worker-0/INFO [co.co.li.LibraryFerret/]: libraryferret - > Initialized library
28.11 17:13:47 [Server] modloading-worker-0/INFO [Puzzles Lib/]: Constructing common components for mod puzzleslib
28.11 17:13:47 [Server] modloading-worker-0/INFO [TrustManager/]: Loading mod 'fantasyfurniture' TrustWorthiness...
28.11 17:13:47 [Server] modloading-worker-0/INFO [TrustManager/]: Loading mod 'apexcore' TrustWorthiness...
28.11 17:13:47 [Server] modloading-worker-0/FATAL [TrustManager/]: Could not determine mod trust worthiness, Assuming Jar was downloaded from trusted source!
28.11 17:13:48 [Multicraft] Skipped 154 lines due to rate limit (30/s)
28.11 17:13:48 [Server] main/INFO [quark/]: Dispatching Module Step REGISTER
28.11 17:13:49 [Server] main/INFO [quark/]: Dispatching Module Step POST_REGISTER
28.11 17:13:58 [Server] main/WARN [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.GlowSquid from class com.nitespring.monsterplus.common.entity.GlowSkeleton
28.11 17:13:58 [Server] main/WARN [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.boss.wither.WitherBoss from class net.verox.arclight.entity.mob.custom.AngelEntity
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Redstone Randomizer
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Pistons Move Tile Entities
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Obsidian Plate
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Metal Buttons
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Jukebox Automation
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Iron Rod
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Gravisand
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Feeding Trough
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Ender Watcher
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Dispensers Place Blocks
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Chute
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Chains Connect Blocks
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Wooden Posts
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Vertical Slabs
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Vertical Planks
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Variant Ladders
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Variant Furnaces
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Variant Chests
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Variant Bookshelves
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Thatch
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Sturdy Stone
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Stools
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Soul Sandstone
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Shingles
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Shear Vines
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Rope
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Raw Metal Bricks
28.11 17:13:58 [Server] main/INFO [quark/]: Loading Module Nether Brick Fence Gate
28.11 17:13:59 [Multicraft] Skipped 431 lines due to rate limit (30/s)
28.11 17:13:59 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [quarryplus] Found status: BETA_OUTDATED Current: 19.8 Target: 19.9
28.11 17:13:59 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [prism] Starting version check at https://mc-update-check.anthonyhilyard.com/638111
28.11 17:14:00 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [prism] Found status: UP_TO_DATE Current: 1.0.2 Target: null
28.11 17:14:00 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [twilightforest] Starting version check at https://gh.tamaized.com/TeamTwilight/twilightforest/update.json
28.11 17:14:00 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [twilightforest] Found status: AHEAD Current: 4.2.1468 Target: null
28.11 17:14:00 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [advancementplaques] Starting version check at https://mc-update-check.anthonyhilyard.com/499826
28.11 17:14:01 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [advancementplaques] Found status: UP_TO_DATE Current: 1.4.7 Target: null
28.11 17:14:01 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [clumps] Starting version check at https://updates.blamejared.com/get=clumps&gv=1.19.2
28.11 17:14:02 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [clumps] Found status: BETA Current: 9.0.0+11 Target: 9.0.0+11
28.11 17:14:02 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [journeymap] Starting version check at https://forge.curseupdate.com/32274/journeymap
28.11 17:14:02 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [journeymap] Found status: BETA_OUTDATED Current: 5.9.0beta2 Target: 5.9.0beta3
28.11 17:14:02 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [edivadlib] Starting version check at https://raw.githubusercontent.com/Edivad99/mod-version-controll/master/edivadlib_update.json
28.11 17:14:02 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [edivadlib] Found status: UP_TO_DATE Current: 1.2.0 Target: null
28.11 17:14:02 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json
28.11 17:14:03 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [forge] Found status: OUTDATED Current: 43.1.47 Target: 43.1.58
28.11 17:14:03 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [commonality] Starting version check at https://api.modrinth.com/updates/apexcore/forge_updates.json
28.11 17:14:03 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [commonality] Found status: OUTDATED Current: 4.2.0 Target: 7.3.1
28.11 17:14:03 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [iceberg] Starting version check at https://mc-update-check.anthonyhilyard.com/520110
28.11 17:14:04 [Server] Forge Version Check/WARN [ne.mi.fm.VersionChecker/]: Failed to process update information
28.11 17:14:04 [Server] INFO com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
28.11 17:14:04 [Server] at com.google.gson.Gson.fromJson(Gson.java:975) ~[gson-2.8.9.jar%2370!/:? {re:mixin}
28.11 17:14:04 [Server] at com.google.gson.Gson.fromJson(Gson.java:928) ~[gson-2.8.9.jar%2370!/:? {re:mixin}
28.11 17:14:04 [Server] at com.google.gson.Gson.fromJson(Gson.java:877) ~[gson-2.8.9.jar%2370!/:? {re:mixin}
28.11 17:14:04 [Server] at com.google.gson.Gson.fromJson(Gson.java:848) ~[gson-2.8.9.jar%2370!/:? {re:mixin}
28.11 17:14:04 [Server] at net.minecraftforge.fml.VersionChecker$1.process(VersionChecker.java:183) ~[fmlcore-1.19.2-43.1.47.jar%23194!/:? {}
28.11 17:14:04 [Server] at java.lang.Iterable.forEach(Iterable.java:75) [?:? {re:computing_frames,re:mixin}
28.11 17:14:04 [Server] at net.minecraftforge.fml.VersionChecker$1.run(VersionChecker.java:114) [fmlcore-1.19.2-43.1.47.jar%23194!/:? {}
28.11 17:14:04 [Server] INFO Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
28.11 17:14:04 [Server] at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:384) ~[gson-2.8.9.jar%2370!/:? {}
28.11 17:14:04 [Server] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:183) ~[gson-2.8.9.jar%2370!/:? {}
28.11 17:14:04 [Server] at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[gson-2.8.9.jar%2370!/:? {}
28.11 17:14:04 [Server] at com.google.gson.Gson.fromJson(Gson.java:963) ~[gson-2.8.9.jar%2370!/:? {re:mixin}
28.11 17:14:04 [Server] INFO ... 6 more
28.11 17:14:04 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [flywheel] Starting version check at https://api.modrinth.com/updates/5lpsZoRi/forge_updates.json
28.11 17:14:04 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [flywheel] Found status: BETA Current: 0.6.7-8 Target: null
28.11 17:14:04 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [apexcore] Starting version check at https://api.modrinth.com/updates/apexcore/forge_updates.json
28.11 17:14:04 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [apexcore] Found status: OUTDATED Current: 7.3.0 Target: 7.3.1
28.11 17:14:04 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [fantasyfurniture] Starting version check at https://api.modrinth.com/updates/fantasy-furniture/forge_updates.json
28.11 17:14:04 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [fantasyfurniture] Found status: OUTDATED Current: 6.6.0 Target: 6.6.1
28.11 17:14:04 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [puzzleslib] Starting version check at https://raw.githubusercontent.com/Fuzss/modresources/main/update/puzzleslib.json
28.11 17:14:04 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [puzzleslib] Found status: UP_TO_DATE Current: 4.3.12 Target: null
28.11 17:14:04 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [solargeneration] Starting version check at https://raw.githubusercontent.com/Edivad99/mod-version-controll/master/solargeneration_update.json
28.11 17:14:04 [Server] Forge Version Check/INFO [ne.mi.fm.VersionChecker/]: [solargeneration] Found status: AHEAD Current: 5.2.1 Target: null

Posted

Post the debug.log

That log is incomplete, e.g. 

Quote

28.11 17:13:48 [Multicraft] Skipped 154 lines due to rate limit (30/s)

 

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • dynamictrees and dtneapolitan are the last mentioned mod - remove these
    • https://mclo.gs/9y5ciD2 anyone ever had this issue?  Internal exception illegal argument exception: unable to fit 3194354 into 3
    • Hi! I'm trying to add my custom models/textures renderer like this: public class PonyPlayerWrapperRenderer extends EntityRenderer<Player> { // wrapper class under my LivingEntityRenderer class implementation private final PonyPlayerRenderer innerRenderer; private final PonyPlayerRenderer innerSlimRenderer; public PonyPlayerWrapperRenderer(final EntityRendererProvider.Context context) { super(context); System.out.println("creating new PonyPlayerWrapperRenderer"); this.innerRenderer = new PonyPlayerRenderer(context, false); this.innerSlimRenderer = new PonyPlayerRenderer(context, true); } @Override public void render(final Player entity, final float yaw, final float partialTicks, final PoseStack poseStack, final MultiBufferSource bufferSource, final int packedLight) { System.out.println("PonyPlayerWrapperRenderer render: " + entity.toString()); if (entity instanceof AbstractClientPlayer clientPlayer) { if (clientPlayer.getModelName().contains("slim")) { innerSlimRenderer.render(clientPlayer, yaw, partialTicks, poseStack, bufferSource, packedLight); } else { innerRenderer.render(clientPlayer, yaw, partialTicks, poseStack, bufferSource, packedLight); } } } @Override public ResourceLocation getTextureLocation(final Player player) { System.out.println("PonyPlayerWrapperRenderer getTextureLocation"); if (player instanceof AbstractClientPlayer clientPlayer) { return clientPlayer.getSkinTextureLocation(); } System.out.println("player instanceof AbstractClientPlayer is false"); return getDefaultSkin(player.getUUID()); } } public class PonyPlayerRenderer extends LivingEntityRenderer<AbstractClientPlayer, PlayerModel<AbstractClientPlayer>> { private final PlayerModel<AbstractClientPlayer> earthModel; private final PlayerModel<AbstractClientPlayer> pegasusModel; private final PlayerModel<AbstractClientPlayer> unicornModel; public PonyPlayerRenderer(final EntityRendererProvider.Context context, final boolean slim) { super( context, slim ? new PonyModelSlim(context.bakeLayer(PonyModelSlim.LAYER_LOCATION)) : new PonyModel(context.bakeLayer(PonyModel.LAYER_LOCATION)), 0.5f ); System.out.println("creating new PonyPlayerRenderer"); this.earthModel = slim ? new PonyModelSlim(context.bakeLayer(PonyModelSlim.LAYER_LOCATION)) : new PonyModel(context.bakeLayer(PonyModel.LAYER_LOCATION)); this.pegasusModel = new PegasusModel(context.bakeLayer(PegasusModel.LAYER_LOCATION)); this.unicornModel = new UnicornModel(context.bakeLayer(UnicornModel.LAYER_LOCATION)); } @Override public void render(final AbstractClientPlayer player, final float entityYaw, final float partialTicks, final PoseStack poseStack, final MultiBufferSource buffer, final int packedLight) { final PonyRace race = player.getCapability(PONY_DATA) .map(data -> ofNullable(data.getRace()).orElse(PonyRace.EARTH)) .orElse(PonyRace.EARTH); this.model = switch (race) { case PEGASUS -> pegasusModel; case UNICORN -> unicornModel; case EARTH -> earthModel; }; super.render(player, entityYaw, partialTicks, poseStack, buffer, packedLight); } @Override public ResourceLocation getTextureLocation(final AbstractClientPlayer player) { final PonyRace race = player.getCapability(PONY_DATA) .map(data -> ofNullable(data.getRace()).orElse(PonyRace.EARTH)) .orElse(PonyRace.EARTH); return switch (race) { case EARTH -> fromNamespaceAndPath(MODID, "textures/entity/earth_pony.png"); case PEGASUS -> fromNamespaceAndPath(MODID, "textures/entity/pegasus.png"); case UNICORN -> fromNamespaceAndPath(MODID, "textures/entity/unicorn.png"); }; } } @Mod.EventBusSubscriber(modid = MODID, bus = MOD, value = CLIENT) public class ClientRenderers { // mod bus render registration config @SubscribeEvent public static void onRegisterLayerDefinitions(final EntityRenderersEvent.RegisterLayerDefinitions event) { event.registerLayerDefinition(PonyModel.LAYER_LOCATION, PonyModel::createBodyLayer); event.registerLayerDefinition(PonyModelSlim.LAYER_LOCATION, PonyModelSlim::createBodyLayer); event.registerLayerDefinition(PegasusModel.LAYER_LOCATION, PegasusModel::createBodyLayer); event.registerLayerDefinition(UnicornModel.LAYER_LOCATION, UnicornModel::createBodyLayer); event.registerLayerDefinition(InnerPonyArmorModel.LAYER_LOCATION, InnerPonyArmorModel::createBodyLayer); event.registerLayerDefinition(OuterPonyArmorModel.LAYER_LOCATION, OuterPonyArmorModel::createBodyLayer); } @SubscribeEvent public static void onRegisterRenderers(final EntityRenderersEvent.RegisterRenderers event) { event.registerEntityRenderer(EntityType.PLAYER, PonyPlayerWrapperRenderer::new); System.out.println("onRegisterRenderers end"); } } Method onRegisterRenderers() is called and I can see it being logged. But when I enter the world, my PonyWrapperRenderer render() method doesn't ever seem to be called. I also tried to put my renderer to EntityRenderDispatcher's playerRenderers via reflection: @Mod.EventBusSubscriber(modid = MODID, bus = MOD, value = CLIENT) public class ClientRenderers { @SubscribeEvent public static void onRegisterLayerDefinitions(final EntityRenderersEvent.RegisterLayerDefinitions event) { event.registerLayerDefinition(PonyModel.LAYER_LOCATION, PonyModel::createBodyLayer); event.registerLayerDefinition(PonyModelSlim.LAYER_LOCATION, PonyModelSlim::createBodyLayer); event.registerLayerDefinition(PegasusModel.LAYER_LOCATION, PegasusModel::createBodyLayer); event.registerLayerDefinition(UnicornModel.LAYER_LOCATION, UnicornModel::createBodyLayer); event.registerLayerDefinition(InnerPonyArmorModel.LAYER_LOCATION, InnerPonyArmorModel::createBodyLayer); event.registerLayerDefinition(OuterPonyArmorModel.LAYER_LOCATION, OuterPonyArmorModel::createBodyLayer); } @SubscribeEvent public static void onClientSetup(final FMLClientSetupEvent event) { event.enqueueWork(() -> { try { final EntityRenderDispatcher dispatcher = Minecraft.getInstance().getEntityRenderDispatcher(); final Field renderersField = getEntityRenderDispatcherField("playerRenderers"); final Field itemInHandRenderer = getEntityRenderDispatcherField("itemInHandRenderer"); @SuppressWarnings("unchecked") final Map<String, EntityRenderer<? extends Player>> playerRenderers = (Map<String, EntityRenderer<? extends Player>>)renderersField.get(dispatcher); final PonyPlayerWrapperRenderer renderer = new PonyPlayerWrapperRenderer( new EntityRendererProvider.Context( dispatcher, Minecraft.getInstance().getItemRenderer(), Minecraft.getInstance().getBlockRenderer(), (ItemInHandRenderer)itemInHandRenderer.get(dispatcher), Minecraft.getInstance().getResourceManager(), Minecraft.getInstance().getEntityModels(), Minecraft.getInstance().font ) ); playerRenderers.put("default", renderer); playerRenderers.put("slim", renderer); System.out.println("Player renderers replaced"); } catch (final Exception e) { throw new RuntimeException("Failed to replace player renderers", e); } }); } private static Field getEntityRenderDispatcherField(final String fieldName) throws NoSuchFieldException { final Field field = EntityRenderDispatcher.class.getDeclaredField(fieldName); field.setAccessible(true); return field; } } But I receive the error before Minecraft Client appears (RuntimeException: Failed to replace player renderers - from ClientRenderers onClientSetup() method - and its cause below): java.lang.IllegalArgumentException: No model for layer anotherlittlepony:earth_pony#main at net.minecraft.client.model.geom.EntityModelSet.bakeLayer(EntityModelSet.java:18) ~[forge-1.20.1-47.4.0_mapped_official_1.20.1-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.entity.EntityRendererProvider$Context.bakeLayer(EntityRendererProvider.java:69) ~[forge-1.20.1-47.4.0_mapped_official_1.20.1-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at com.thuggeelya.anotherlittlepony.client.renderer.pony.PonyPlayerRenderer.<init>(PonyPlayerRenderer.java:32) ~[main/:?] {re:classloading} at com.thuggeelya.anotherlittlepony.client.renderer.pony.PonyPlayerWrapperRenderer.<init>(PonyPlayerWrapperRenderer.java:24) ~[main/:?] {re:classloading} at com.thuggeelya.anotherlittlepony.client.renderer.ClientRenderers.lambda$onClientSetup$0(ClientRenderers.java:79) ~[main/:?] {re:classloading} ... 33 more Problem appears when EntityRendererProvider context tries to bakeLayer with my model layer location: new PonyModel(context.bakeLayer(PonyModel.LAYER_LOCATION)); // PonyPlayerRenderer.java:32 public class PonyModel extends PlayerModel<AbstractClientPlayer> { // the model class itself public static final ModelLayerLocation LAYER_LOCATION = new ModelLayerLocation( ResourceLocation.fromNamespaceAndPath(MODID, "earth_pony"), "main" ); public PonyModel(final ModelPart root) { super(root, false); } public static LayerDefinition createBodyLayer() { // some CubeListBuilder stuff for model appearance } } Textures PNGs are placed at: resources/assets/[my mod id]/textures/entity. My forge version is 1.20.1. Would appreciate any help.
    • Well, a bit more information about what you're trying to do would be helpful. e.g. why you're trying to use "INVOKE_ASSIGN" instead of "INVOKE". "INVOKE_ASSIGN" calls your code after the "target" is called and its value is stored, if applicable. "INVOKE" calls your code before the target is called. "target" expects a fully qualified name, as per the SpongePowered docs, if that name is going to be remapped (which it will be if your injecting into Minecraft itself and not another mod). For more information on fully qualified names versus canonical names, see the Java specifications. Here's an example of a working "@At" from my own code that targets the "getClosestsVulnerablePlayerToEntity" call inside a mob's logic: @At(value = "INVOKE_ASSIGN", target = "net.minecraft.world.World.getClosestVulnerablePlayerToEntity(Lnet/minecraft/entity/Entity;D)Lnet/minecraft/entity/player/EntityPlayer;") Hope this helps!
    • Ran it one more time just to check, and there's no errors this time on the log??? Log : https://mclo.gs/LnuaAiu I tried allocating more memory to the modpack, around 8000MB and it's still the same; stopping at "LOAD_REGISTRIES". Are some of the mods clashing, maybe? I have no clue what to do LOL
  • Topics

  • Who's Online (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.