Jump to content

loordgek

Members
  • Posts

    1910
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by loordgek

  1. there is no super public class AltarSerializable implements ICapabilitySerializable he returns null in getCapability
  2. you dont need to get server player
  3. GuiOpenEvent is fired on the client
  4. it cant be null @Override public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> cap, @Nullable Direction side) { if(cap.equals(AltarCapabilityDef.ALTAR_INVENTORY)){ return holder.cast(); } return null; } dont return null here that will break use LazyOptional.empty()
  5. dint see the you are a dev yes as of 1.17 you need java 16
  6. if you use the minecraft launcher you do not have to do anything
  7. https://mcforge.readthedocs.io/en/1.16.x/datastorage/capabilities/
  8. you need to look server side for items and sent them to the client
  9. show your block class
  10. use lambdas https://www.w3schools.com/java/java_lambda.asp for getSickness use LazyOptional::map
  11. is this what you want ? https://www.planetminecraft.com/mod/lucky-block-command-creator---thvardhan-minecraft-19/
  12. you want https://github.com/amadornes/MCMultiPart
  13. maybe it is time to buy a new/used one
  14. in build.gradle you need to change the maven url in the build buildscript from https://files.minecraftforge.net/maven to https://maven.minecraftforge.net/ and
  15. put this somewhere in the build.gradle repositories { maven { url = 'https://libraries.minecraft.net/' } mavenCentral() maven { url = 'https://maven.minecraftforge.net/' } } if you already have a repositories block put it in there
  16. you need to change the maven url in the build buildscript from https://files.minecraftforge.net/maven to https://maven.minecraftforge.net/
  17. dont do that
  18. dont create a new stack to check, check the item it self
  19. yes you can make a server side only mod
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.