-
Recently Browsing
No registered users viewing this page.
-
Posts
-
To get my itemhandler.i need to get default living entity slots and my custom slots
-
By diesieben07 · Posted
That's an infinite loop. Why are you overriding getCapability at all? -
Like this public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side) { if(cap == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY) { return getCapability(cap,side).cast(); } return super.getCapability(cap, side); }
-
By diesieben07 · Posted
Call getCapability. -
I dont understand how i can get them from my class
-
-
Topics
-
Who's Online (See full list)