Search the Community
Showing results for tags '1.19.2'.
-
The game crashed whilst rendering overlay Error: java.lang.LinkageError: loader constraint violation: loader 'MC-BOOTSTRAP' u/4009e306 wants to load interface org.apache.logging.log4j.util.MessageSupplier. (org.apache.logging.log4j.util.MessageSupplier is in module [email protected] of loader 'MC-BOOTSTRAP' u/4009e306, parent loader 'bootstrap') https://pastebin.com/gaeHA3d4
-
Hi! Before everything, thank you for even reading. I'm coming here in need of help making a few aspects for a create mod addon. It's an addon that aims to add almost the full periodic table with realistic ways of obtaining all the elements and capability of almost full automation. For what purpose? A techy armor and to go to the moon and rocky planets of the solar system. It'll have 3 different tiers of machines (mixer, millstone, crushing wheels): basic (just the normal create mod machines but renamed), advanced (25% faster and has recipes only possible for this tier and above) end elite (75% faster than basic and recipes only available for this tier). The problem is, I'm not a coder. I know less than the basics. I know how to do everything else but these machine tiers and i need some help if you can.
-
1.19.2 Forge 1.19.2 Constant crashes caused by entities
Atlantir1 posted a topic in Support & Bug Reports
Hello! There is an issue with my world(Chocolate Edition modpack), after joining the world all creatures are frozen and the game is not responding or the game crashes after short period of time. Reproduction Steps: Turn on the game Join the world Game crashes immediately or after short period of time. Additional info: Crash log saying that an entity crashed the game is created after the crash(not the logs that I posted, different file from crash-logs, game crashed 3x by Snail, 1x by Small Snail, 1x by Tortoise) Specification: CPU: i5-13600KF GPU: GTX 1070 RAM: 32GB 3200MhZ - allocated 10GB Log links: latest.log: https://mclo.gs/Lp8zlsv crash-reports/crash: https://mclo.gs/XhtyJQI Minecraft version: 1.19.2 Modpack Version: Chocolate Edition 1.9 OS: Windows 10 Java Version: 22.0.2 Minecraft Java: Java 17 -
I suddenly getting error message that says 'Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.' or 'Found Gradle version Gradle 8.0. Versions Gradle 8.0 and newer are not supported.'. I tried following articles from java/minecraft community and even asked AI to help but I got no right answer. I checked git changelog to fix but all I did was adding some Items , editing documents like readme, changelog and changing version number and group in build.gradle file. what is causing this error and how can I fix it? Thanks. This is the full log of runClient with stacktrace.
-
Hello I'm currently making an Item that thrusts you to viewing direction, and I referenced riptide code of trident for my item. @Override public InteractionResultHolder<ItemStack> use(Level pLevel, Player pPlayer, InteractionHand pUsedHand) { if(!pLevel.isClientSide() && pUsedHand == InteractionHand.MAIN_HAND && pPlayer.isOnGround()){ Impale(pPlayer, pUsedHand); pPlayer.getCooldowns().addCooldown(this, 40); } return super.use(pLevel, pPlayer, pUsedHand); } public void Impale(Player pPlayer, InteractionHand pUsedHand) { float playerYRot = pPlayer.getYRot(); float xForce = -Mth.sin(playerYRot * ((float)Math.PI / 180F)) * Mth.cos((float)Math.PI / 180F); float yForce = 100.6F; float zForce = Mth.cos(playerYRot * ((float)Math.PI / 180F)) * Mth.cos((float)Math.PI / 180F); float stabilizedForce = Mth.sqrt(xForce * xForce + zForce * zForce); xForce /= stabilizedForce; zForce /= stabilizedForce; pPlayer.push((double)xForce, (double)yForce, (double)zForce); pPlayer.sendSystemMessage(Component.literal(playerYRot + " " + xForce + " " + yForce + " " + zForce + " " + stabilizedForce + "shoo")); } I sure edited a lot from source code but this isn't working somehow? the sendSystemMessage works correctly. It prints value of variables and string, but the force isn't applying to player. how can I make this to work? Thanks.
-
I tried adding a bunch of mods together like i usually do, and I got a crash, and have little to no idea how to fix it whatsoever,,,, And I would absolutely love any help crash report is
-
https://pastebin.com/b6e0m6dG
-
So my friend made a modpack consisting of 148 mods or so, it says there isn't a specific mod that is causing it. It keeps giving us this crash code The game crashed: rendering overlay Error: java.lang.IllegalArgumentException: Failed to create player model for default -1 Figured id let the experts/knowledgeable people help me figure this out Crash report: https://pastebin.com/SgrgTfcN Debug Log: https://pastebin.com/5VFyXF0C If you need anything else just comment in the thread ill provide everything I can
-
I have been putting together a mod pack for myself, mostly because I wanted compressium and the mod pack I was using before didn't support it. I've been trying to add the Aether mod, including all the dependencies, but the game still crashes with error 1 on startup. Is there something I'm missing that I can fix to be able to include the Aether mod, or is it completely incompatible with something else? <script src="https://paste.ee/e/kn95a97C/0"></script> paste.ee for latest log, crash logs folder doesn't have most recent crashes
-
1.19.2 Tried to fix fml errors but won't go away.
Bonnie1987 posted a topic in Support & Bug Reports
crash report - Pastebin.com/v5icCKie I have tried to seartch online and repair both the modpack and my minecraft folder in the curseforge app but keep getting the errors for "fmlcore", "javafmllanguage", "lowcodelanguage", "mclanguage" & "Attempted to select two dependency jars from JarJar". Please help Edit: accidentally uploaded the wrong file to pastebin. now it should me the correct one. -
so my friend is unable to play this and atleast 1 other modpack that load just fine for me, this specific modpack is a version of Cisco's Fantasy Medieval RPG [Ultimate]-V5bRe.zip the end bit is the version of the mod it is, and its not the newest cause we tried switching versions if that would fix the error code 1 issue, then found a reddit post that said how to get the logs for it but the rest of the fix i didnt know how it worked or it just didnt work. help would be appreciated, and idk what all i need to provide but heres the logs atleast; https://docs.google.com/document/d/1VyncuA_EMMIk9vhq59I5O2oEVKGxdUD6jxpw4NMZQdI/edit?usp=sharing
-
Hi, I was playing on my modpack yesterday and it was fine. Today I saw some updates in the forge client and decided to do them then I also added 3 new mods (Create: Unbreakable tools, Framed Blocks, The Twilight Forest.) After this the game will crash. Then I get an image that says ERROR Game crashed. The game crashed: initializing game Error: java.lang.RuntimeException: null Exit Code: -1 (Inline posted log removed) Soo can you please let me know what I did wrong?
-
So am trying to make a custom 1.19.2 modpack and everything works until I add Oculus. I have tried Oculus+Embedium and Oculus+Rubdium and by themselves they work but as soon as I add anything it crashes no matter what it is. The modpack works fine with just Embedium and Rubdium. Can you help me to see if this is something i can fix or do i just have to deal with not having shaders. Here is the crash log. Thank you for your time. https://paste.ee/p/WXfNZ24K
-
1.19.2 ATM 8 Server Crashes Every 10 or so Minutes
PaulieButface posted a topic in Support & Bug Reports
Ive recently made an ATM 8 server with some family. It was running fine for the first few hours but it seems to crash every 10 minutes now. Ive no idea on how to properly read the crash report so i was hoping someone here could help me out. https://pastebin.com/KeWyDZd1 -
Hey dudes. Recently started up a 1.19.2 All the Mods 8 server with some of the family. It ran well for a few hours and now it crashes every 10 or so minutes. Crash log is below. Pastebin: https://pastebin.com/KeWyDZd1 Any help would be much appreciated dudes. Cheers
-
Me and my friends recently tried to run a modded forge server because our old way of playing together (essential mod) was way too laggy for us and figured it would be way nicer if we just had a dedicated server running from one of our PC's I finished everything up and was finally about to start the server then the command prompt randomly stops, I am completely new to server hosting and dont understand what I did wrong. I watched the same tutorial video atleast 6 times and this is the only issue that appears. These links are pictures of the command prompt crash: https://gyazo.com/b52b07d3d8ffb61d271dc01d7006a5f3 https://gyazo.com/22ece813f0302cfd0cb023e09680b432 (When i press any key it just closes the command prompt))
-
Forge version: 43.5.0 Minecraft version: 1.19.2 Downloads: Changelog: (Direct) Installer: (AdFocus) (Direct) MDK: (AdFocus) (Direct) Downloads page Intro: Today, we release our fifth recommended build for 1.19.2. Forge 43 has been going on strong with a handful of backports coming its way from newer versions of Forge. As such, this new build of Forge primarily expands on bug fixes, but also adds a handful of convenience features for modders that were recently introduced (most notably the FMLJavaModLoadingContext parameter). As always, 1.19.2 remains covered by our tiered support system under legacy support. New: Optionally supply FMLJavaModLoadingContext as a param to mod constructors, backport of #10074 (#10106) Before: public MyMod() { // getting the mod bus - uses FMLJavaModLoadingContext var modBus = FMLJavaModLoadingContext.get().getModEventBus(); // registering configs - uses ModLoadingContext ModLoadingContext.get().registerConfig(/* ... */); // ... } After: public MyMod(FMLJavaModLoadingContext context) { // getting the mod bus var modBus = context.getModEventBus(); // registering configs context.registerConfig(/* ... */); // ... } Bump CoreMods to 5.2.4, which adds new features such as ES6, better documentation, and long-awaited bug fixes (changelog, #10269) Deprecate `@ObjectHolder` and skip processing internal classes which do not use it (#10226) Backport some Vanilla 1.21 `ResourceLocation` methods (#10239, #10430) Add VillagerType#registerBiomeType (#10360) Add `clientSideOnly` feature to mods.toml (backport of #9804, #10367) Add fast graphics render type to block model jsons, fixes #10389 (#10400) Speed up mod annotation scanning by ~30% (#10472) Add '#forge:chorus_additionally_grows_on' tag for similar mechanics to '#minecraft:azalea_grows_on' but for chorus (#10464) Fixed: Choose the default JarJar mod file type based on the parent Jar, fixes #8878 (#10025) Fix falling block entities not rendering as moving blocks, backport of #10006 (#10020) Cleanup FML Bindings which fixes some minor bugs, backport of #10004 (#10105) Bump JNA to 5.12.1, which fixes native callback issues on macOS (#10186) Add optional fix of use item duration, disabled by default and found in the server config (#10244) Add client config to allow mipmap lowering to be disabled, fixes #10155, (#10250) Fix non-passengers being tickable without checking canUpdate() (#10306) Fix issues in VillagerTrades.EmeraldsForVillagerTypeItem related to custom Villager Types (#10360) Fix issue with shields being disabled by an attacker (#10323) Fix incorrect method reference in TntBlock.explode() (#10333) Ensure NetworkConstants is loaded before mod construction, preventing rare class-loading deadlocks (#10448) Fix continuing to use items after dropping or when a shield breaks, fixes MC-231097, MC-168573, and #10344 (#10382)
-
I've been trying to start a new server for myself and a friend. Finally got it to start after hours of work, but I finally ran into an error that google doesn't know about. Attempting to join the server boots me out with the error code Internal Exception: java.lang.NoClassDefFoundError: net/minecraft/network/CompressionEncoder log file here: https://paste.ee/p/L3RQs The modpack is Life in the Village 3, with a couple added mods because my friend likes Tinker's Construct. Any help would be highly appreciated.
-
Im having an issue with curseforge only, may possibly be specific to the modpack but around 5-10 minutes after playing the mod (All of Create) my game randomly freezes its display though the game still functionss the display is frozen, i have attempted the following: 1.Update graphics driver (intel) to the latest which is the 31.0.101.2134 (Intel® 7th-10th Gen Processor Graphics - Windows*) 2.uninstal curseforge and install 3.turn off anti virus 4.turn off recording software 5. delete and reinstall graphics drivers 6.higher allocated ram 7.close any backround apps 8.lower ingame graphics settings to the lowest possible though this issue still happens. any help would be greatly appreciated.
-
Version 1.19 - Forge 41.0.63 I want to create a wolf entity that I can ride, so far it seems to be working, but the problem is that when I get on the wolf, I can’t control it. I then discovered that the issue is that the server doesn’t detect that I’m riding the wolf, so I’m struggling with synchronization. However, it seems to not be working properly. As I understand it, the server receives the packet but doesn’t register it correctly. I’m a bit new to Java, and I’ll try to provide all the relevant code and prints *The comments and prints are translated by chatgpt since they were originally in Spanish* Thank you very much in advance No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. MountableWolfEntity package com.vals.valscraft.entity; import com.vals.valscraft.network.MountSyncPacket; import com.vals.valscraft.network.NetworkHandler; import net.minecraft.client.Minecraft; import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.network.syncher.EntityDataSerializers; import net.minecraft.network.syncher.SynchedEntityData; import net.minecraft.server.MinecraftServer; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.Mob; import net.minecraft.world.entity.ai.attributes.AttributeSupplier; import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.animal.Wolf; import net.minecraft.world.entity.player.Player; import net.minecraft.world.entity.Entity; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.network.PacketDistributor; public class MountableWolfEntity extends Wolf { private boolean hasSaddle; private static final EntityDataAccessor<Byte> DATA_ID_FLAGS = SynchedEntityData.defineId(MountableWolfEntity.class, EntityDataSerializers.BYTE); public MountableWolfEntity(EntityType<? extends Wolf> type, Level level) { super(type, level); this.hasSaddle = false; } @Override protected void defineSynchedData() { super.defineSynchedData(); this.entityData.define(DATA_ID_FLAGS, (byte)0); } public static AttributeSupplier.Builder createAttributes() { return Wolf.createAttributes() .add(Attributes.MAX_HEALTH, 20.0) .add(Attributes.MOVEMENT_SPEED, 0.3); } @Override public InteractionResult mobInteract(Player player, InteractionHand hand) { ItemStack itemstack = player.getItemInHand(hand); if (itemstack.getItem() == Items.SADDLE && !this.hasSaddle()) { if (!player.isCreative()) { itemstack.shrink(1); } this.setSaddle(true); return InteractionResult.SUCCESS; } else if (!level.isClientSide && this.hasSaddle()) { player.startRiding(this); MountSyncPacket packet = new MountSyncPacket(true); // 'true' means the player is mounted NetworkHandler.CHANNEL.sendToServer(packet); // Ensure the server handles the packet return InteractionResult.SUCCESS; } return InteractionResult.PASS; } @Override public void travel(Vec3 travelVector) { if (this.isVehicle() && this.getControllingPassenger() instanceof Player) { System.out.println("The wolf has a passenger."); System.out.println("The passenger is a player."); Player player = (Player) this.getControllingPassenger(); // Ensure the player is the controller this.setYRot(player.getYRot()); this.yRotO = this.getYRot(); this.setXRot(player.getXRot() * 0.5F); this.setRot(this.getYRot(), this.getXRot()); this.yBodyRot = this.getYRot(); this.yHeadRot = this.yBodyRot; float forward = player.zza; float strafe = player.xxa; if (forward <= 0.0F) { forward *= 0.25F; } this.flyingSpeed = this.getSpeed() * 0.1F; this.setSpeed((float) this.getAttributeValue(Attributes.MOVEMENT_SPEED) * 1.5F); this.setDeltaMovement(new Vec3(strafe, travelVector.y, forward).scale(this.getSpeed())); this.calculateEntityAnimation(this, false); } else { // The wolf does not have a passenger or the passenger is not a player System.out.println("No player is mounted, or the passenger is not a player."); super.travel(travelVector); } } public boolean hasSaddle() { return this.hasSaddle; } public void setSaddle(boolean hasSaddle) { this.hasSaddle = hasSaddle; } @Override protected void dropEquipment() { super.dropEquipment(); if (this.hasSaddle()) { this.spawnAtLocation(Items.SADDLE); this.setSaddle(false); } } @SubscribeEvent public static void onServerTick(TickEvent.ServerTickEvent event) { if (event.phase == TickEvent.Phase.START) { MinecraftServer server = net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer(); if (server != null) { for (ServerPlayer player : server.getPlayerList().getPlayers()) { if (player.isPassenger() && player.getVehicle() instanceof MountableWolfEntity) { MountableWolfEntity wolf = (MountableWolfEntity) player.getVehicle(); System.out.println("Tick: " + player.getName().getString() + " is correctly mounted on " + wolf); } } } } } private boolean lastMountedState = false; @Override public void tick() { super.tick(); if (!this.level.isClientSide) { // Only on the server boolean isMounted = this.isVehicle() && this.getControllingPassenger() instanceof Player; // Only print if the state changed if (isMounted != lastMountedState) { if (isMounted) { Player player = (Player) this.getControllingPassenger(); // Verify the passenger is a player System.out.println("Server: Player " + player.getName().getString() + " is now mounted."); } else { System.out.println("Server: The wolf no longer has a passenger."); } lastMountedState = isMounted; } } } @Override public void addPassenger(Entity passenger) { super.addPassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(true)); } } } @Override public void removePassenger(Entity passenger) { super.removePassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is no longer mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(false)); } } } @Override public boolean isControlledByLocalInstance() { Entity entity = this.getControllingPassenger(); return entity instanceof Player; } @Override public void positionRider(Entity passenger) { if (this.hasPassenger(passenger)) { double xOffset = Math.cos(Math.toRadians(this.getYRot() + 90)) * 0.4; double zOffset = Math.sin(Math.toRadians(this.getYRot() + 90)) * 0.4; passenger.setPos(this.getX() + xOffset, this.getY() + this.getPassengersRidingOffset() + passenger.getMyRidingOffset(), this.getZ() + zOffset); } } } MountSyncPacket package com.vals.valscraft.network; import com.vals.valscraft.entity.MountableWolfEntity; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.server.level.ServerLevel; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.player.Player; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class MountSyncPacket { private final boolean isMounted; public MountSyncPacket(boolean isMounted) { this.isMounted = isMounted; } public void encode(FriendlyByteBuf buffer) { buffer.writeBoolean(isMounted); } public static MountSyncPacket decode(FriendlyByteBuf buffer) { return new MountSyncPacket(buffer.readBoolean()); } public void handle(NetworkEvent.Context context) { context.enqueueWork(() -> { ServerPlayer player = context.getSender(); // Get the player from the context if (player != null) { // Verifies if the player has dismounted if (!isMounted) { Entity vehicle = player.getVehicle(); if (vehicle instanceof MountableWolfEntity wolf) { // Logic to remove the player as a passenger wolf.removePassenger(player); System.out.println("Server: Player " + player.getName().getString() + " is no longer mounted."); } } } }); context.setPacketHandled(true); // Marks the packet as handled } } networkHandler package com.vals.valscraft.network; import com.vals.valscraft.valscraft; import net.minecraft.resources.ResourceLocation; import net.minecraftforge.network.NetworkRegistry; import net.minecraftforge.network.simple.SimpleChannel; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class NetworkHandler { private static final String PROTOCOL_VERSION = "1"; public static final SimpleChannel CHANNEL = NetworkRegistry.newSimpleChannel( new ResourceLocation(valscraft.MODID, "main"), () -> PROTOCOL_VERSION, PROTOCOL_VERSION::equals, PROTOCOL_VERSION::equals ); public static void init() { int packetId = 0; // Register the mount synchronization packet CHANNEL.registerMessage( packetId++, MountSyncPacket.class, MountSyncPacket::encode, MountSyncPacket::decode, (msg, context) -> msg.handle(context.get()) // Get the context with context.get() ); } }