Sign in to follow this
Followers
0

MC crashes after creating armor.
By
foonicular, in Modder Support
-
Recently Browsing
No registered users viewing this page.
-
Posts
-
should this line return me IItemHandler instances for armor and held inventories? return LazyOptional.of(() -> (T) getHandler());
-
By diesieben07 · Posted
I don't understand that question. -
Return here? public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side) { if(cap == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY) { return LazyOptional.of(() -> (T) getHandler()); //Here? } return super.getCapability(cap, side); }
-
By diesieben07 · Posted
1.8 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. -
Yeah but I am creating a perpheral for computercraft that uses SQL. So i think using a sqlite file would be the easiest way. (You do not need to maintain a server.) However if there is another way I’d be glad to test it. Testing this this evening btw.
-
-
Topics
-
Who's Online (See full list)