Sign in to follow this
Followers
0
FML 1.16.4 Server crashing on startup (Ubuntu 18.04, Valhelsia 3)
By
lodestarr, in Support & Bug Reports
-
Recently Browsing
No registered users viewing this page.
-
Posts
-
By diesieben07 · Posted
Update Forge if you want Java 15 support. -
Hi. I am new to minecraft (a month) in general and decided to create a modded server so that two of my friends could also join. I downloaded the forge-1.16.4-35.1.4-installer and installed the server and client. In the server folder, 4 files were created libraries, 1.16.4.json, forge-1.16.4-35.1.4.jar and minecraft_server.1.16.4.jar (but no universal file was created). I ran the forge-1.16.4-35.1.4.jar file and it created the mods, logs, config and the defaultconfig folders. And then i ran the minecraft_server.1.16.4.jar and eula and server-properties files were created. After the changing the eula and server-properties, i was able to start the vanilla minecraft sever but everytime i try to run the forge server it just opens the cmd and closes after few seconds. Also I am absolutely new to these stuff and have not prior experience. Any help/suggestions would be highly appreciated. I have also attached the logs that were created. latest.log
-
By Dr.Nickenstein · Posted
I want to get the current durability of an item, what is the method for it? -
Its kinda working now but how can i choose which of a default ones slots i want to use. For example i dont need head slot or i just shouldn't use it as an index in my container? Now i get the facing thing null = hands and armor vertical = hands horizontal = armor
-
My constructor looks like this now. public ItemStackHandler handlerCustom; public IItemHandler handlerDefault; public IItemHandler both; LazyOptional<IItemHandler> optional; public WhoreEntity(EntityType<? extends WhoreEntity> type, World worldIn) { super(type, worldIn); handlerCustom = new ItemStackHandler(1); //1 handlerDefault = super.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY,Direction.EAST).orElseThrow(null); both = new CombinedInvWrapper(handlerCustom, ((IItemHandlerModifiable) handlerDefault)); optional = LazyOptional.of(() -> both); } And my Override getCapability. I dont sure what is facing means @Nonnull @Override public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side) { if(cap == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY && side != null) { return (LazyOptional<T>)optional; } return super.getCapability(cap, side); } Did i do that all right?
-
-
Topics
-
Who's Online (See full list)