Everything posted by warjort
-
How to start run.bat file using opc console (bitvise ssh client)
You are missing context to your question, I don't really understand it. But, where are you sshing to? If it's a windows machine then you just use run.bat, otherwise use run.sh Read the comments in user_jvm_args.txt and run.bat/sh for how to modify those files to set the memory and the nogui
-
Disable item wiggle in hand
Isn't that "view bobbing"? You can turn it off in the video settings. I don't think forge has anything to turn it off more selectively?
-
Can't use mods in the Forge server
Your log file shows 2 mods getting loaded [25ago2022 19:52:58.980] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\Júlia\Desktop\SERVER\mods\FallingTree-1.18.2-3.5.3.jar [25ago2022 19:52:59.009] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file FallingTree-1.18.2-3.5.3.jar with {fallingtree} mods - versions {3.5.3} [25ago2022 19:52:59.483] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\Júlia\Desktop\SERVER\mods\Towns-and-Towers-1.18.2-1.6.0.jar [25ago2022 19:52:59.484] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Towns-and-Towers-1.18.2-1.6.0.jar with {t_and_t} mods - versions {1.6} If you have more than that, it is likely that the files don't end with .jar A common problem is that your browser or a browser plugin misidentifies your download and renames it to end with .jar.zip which won't work.
-
How to store data into Data entities
Yes. You also need to load/save it, see the Conduit block. That's why you use the UUID, you can store that in NBT.
-
[1.18.2] onContentsChanged
One way would be to check if the stacks are the same (same item). Then skip the onRemove() call. You might want a different check if you have custom nbt or something that means just checking the item is not enough. if (!previous.isSame(itemStack)) { onRemoved(previous); }
-
1.19.2 server crash mid game
That's up to you. You can try it. If you think it is not a problem with the terminal, you are going to have to experiment with removing mods anyway since there is nothing in the log about the problem. What I would do is make a new forge server with no mods. Then see if you get the same problem without any mods installed. If you don't then we know it is a problem with one of your mods doing something strange.
-
1.19.2 server crash mid game
just put "powershell" in the search box of the start menu. it's not rocket science. 🙂
-
1.19.2 server crash mid game
I think it is this mod? https://elrol.dev/wiki/server-utilities/features/chest-shops/ but they have a lot of mod projects. 🙂 https://www.curseforge.com/members/arrowsendgaming/projects
-
1.19.2 server crash mid game
I still think this has something to do with your terminal. In your video the last line is at 18:12:46, but it doesn't show a similar message at 18:17.46 - 5 minutes later [25Aug2022 18:12:46.271] [pool-11-thread-1/INFO] [com.github.elrol.elrolsutilities.Main/]: [SU] Saving Shop Registries <!-- snip --> [25Aug2022 18:17:46.270] [pool-11-thread-1/INFO] [com.github.elrol.elrolsutilities.Main/]: [SU] Saving Shop Registries The debug.log stops at this point as well, but I guess you shut it down? It looks like you are using cmd.exe, you could try using powershell (I don't know if that will make a difference?) You can also look at the options for your terminal, e.g. this link shows the issue I referred to before with "quick edit" https://stackoverflow.com/questions/33883530/why-is-my-command-prompt-freezing-on-windows-10 Finally, since you say this problem occurs after 5 minutes, it is suspicious that the "saving shop registries" message occurs 5 minutes apart. I think the mod is elrolutilities but maybe it is a library mod for something else? But I don't understand how this could stop the terminal from display a log message though.
-
Exit Code 1 Crash on startup, before the game can start loading (1.18.2)
Either the mods are missing are one of your mods wants a difference version to what you have.
-
1.19.2 server crash mid game
You should be able to run it as a background task. I have zero experience of doing this on windows, so I don't know what it involves, sorry.
-
1.19.2 server crash mid game
Please don't post text as images. Post the text properly using the quote button. The next time this happens, type something unique into the terminal, then we can see if it appears in the log.
-
1.19.2 server crash mid game
If you close the console that will shutdown the server. You can see in the log where you typed stuff Did you not see this on your terminal? I don't know what terminal you are using but I know there are issues with some terminals "pausing" if you click on them or press certain keys. This will actually stop the program from running when the terminal buffer gets full. It is waiting for the terminal to print data to the screen, which it doesn't do because it is paused.
-
How to store data into Data entities
You only need a capability if you want to do it for other people's block entities. If its your BlockEntity, you can just store the player's UUID in your block entity You can see how ConduitBlockEntity does this to remember its "destroy target". For actually changing the data in your block entity at placement see something like: AbstractBannerBlock.setPlacedBy()
-
1.19.2 server crash mid game
There is no crash in those logs. Are you starting the server from a terminal and then closing the terminal?
-
[1.18.2] onContentsChanged
Note: That code above only works if the item stacks are always amount=1 like armor or tools. It doesn't take into account removing part of stacked items.
-
[1.18.2] onContentsChanged
Why doesn't something like this work? WARNING: This code is not tested, it just shows the idea. And see the comment in the code. @Override public void setStackInSlot(int slot, @NotNull ItemStack stack) { ItemStack previous = getStackInSlot(slot); super.setStackInSlot(slot, stack); // Probably needs some check here to see if "previous" and "stack" are the same item? // i.e. item swap of two different amulets onRemoved(previous); } @Override public @NotNull ItemStack extractItem(int slot, int amount, boolean simulate) { ItemStack extracted = super.extractItem(slot, amount, simulate); if (!simulate) { onRemoved(extracted); } return extracted; } protected void onRemoved(ItemStack itemStack) { // Your code here }
-
'adfoc.us redirected you too many times' 'ERR_TOO_MANY_REDIRECTS'
Click "show all versions", then hover over the "i" next to the installer you want. It will show a direct download link.
-
Create Curios (createcurios) encountered an error during the sided_setup event phase java.lang.NoSuchFieldError: GOGGLES
You would have to downgrade create and all its related mods. Good luck determining which old versions work together. 🙂
-
Can't install Forge 1.18.x, 1.19.x, 1.17.x, and some others
Show your hosts file: %windir%\system32\drivers\etc\hosts where %windir% is probably c:\windows
-
Unable to install Forge 1.18.2
Not your computer as such, something is misconfigured. Show your hosts file: %windir%\system32\drivers\etc\hosts where %windir% is probably c:\windows
-
[1.18.2] Error trying to register a custom feature based on KelpFeature [SOLVED]
@Mod.EventBusSubscriber(modid = ALMTS.MOD_ID) // ** ADD THIS ** public class ModWorldEventsAlt { -- snip -- @SubscribeEvent public static void biomeLoadingEvent(final BiomeLoadingEvent event) { You don't have a subscriber annotation. See the comment above. I assume you don't have other (not shown) code registering that event handler?
-
Every time I load a survival world it crashes and says java.lang.NoSuchFieldError: f_13131_
ava.lang.NoSuchFieldError: f_13131_ at com.firecontroller1847.levelhearts.gui.IngameGui.redrawAir(IngameGui.java:108) ~[levelhearts-1.18.2-2.4.0.jar%2373!:?] {re:classloading} You are trying to use a mod for 1.18.2 with minecraft 1.18, this won't work. You need to download the 1.18 version (see "Game Version") of that mod: https://www.curseforge.com/minecraft/mc-mods/levelhearts/files/all?filter-game-version=1738749986%3a73250
-
Why my forge installer keeps giving me Failed to run processor: javax.net.ssl.SSLHandshakeException:PKIX path building failed:
That 51.68.172.243 is not the mojang download site. When I connect to it, it doesn't even support https and the response to http is "forbidden". As administrator edit your hosts file and remove that line. Then reboot windows and try the installer again.
-
Why my forge installer keeps giving me Failed to run processor: javax.net.ssl.SSLHandshakeException:PKIX path building failed:
Can you connect to this: https://launchermeta.mojang.com/mc/game/version_manifest.json On the command line type and post the output here. java --version
IPS spam blocked by CleanTalk.