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. use lambdas https://www.w3schools.com/java/java_lambda.asp for getSickness use LazyOptional::map
  10. is this what you want ? https://www.planetminecraft.com/mod/lucky-block-command-creator---thvardhan-minecraft-19/
  11. you want https://github.com/amadornes/MCMultiPart
  12. 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
  13. 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
  14. you need to change the maven url in the build buildscript from https://files.minecraftforge.net/maven to https://maven.minecraftforge.net/
  15. dont create a new stack to check, check the item it self
  16. yes you can make a server side only mod
×
×
  • Create New...

Important Information

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