Jump to content

zaze

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by zaze

  1. and it tells me that it runs the method from my provider that i have as a variabel but is it anather one that contains difrent information in the ItemStack#getCapability
  2. yes but i need a capability<? extends Object> and i cant finnd where i can get it
  3. i have acces to the provider im my item class so can i get it from the provider?
  4. yes that probobly what i need i just can't find where i whuld get the capabolity from but it may just me me
  5. in the power class i what to store the variabel `energy` in a nbt tag so i can get it in the test class that rn has my test item
  6. my item class that i what to get the power https://github.com/zaze06/sifi-mek/blob/master/src/main/java/me/alien/meksifi/mek/items/Test.java my class that implements IEnergyStorage https://github.com/zaze06/sifi-mek/blob/master/src/main/java/me/alien/meksifi/mek/Energy.java and my provider if its needed https://github.com/zaze06/sifi-mek/blob/master/src/main/java/me/alien/meksifi/mek/Provider.java
  7. Yes i know im using it but i can’t get it to store in nbt and if it dos that how can i get the value?
  8. Hi i'm trying to make a energy based mod but i whold like to have the amount of energy exposed or in an nbt tag so i can get it from other classes I have googled but only got thing for outdated version of forge sorry for mispelings
  9. Hi i whant to run a command when somone dos somthing but how do i make the server run a command i use forge 36.1.0 minecraft 1.16.5
  10. hi I'm making a mod for 1.12.2 but I can't test it decos I get an error error "OpenJDK 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release" how can I fix it
  11. can I get it to work whit java 8 or most I hava java 6 because I don't find ware I can download it
×
×
  • Create New...

Important Information

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