Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/15/20 in all areas

  1. you subscribe to the wrong bus remove , bus = EventBusSubscriber.Bus.MOD
    1 point
  2. Just wondering, when did they do that? From all I found in their Terms and Conditions, they only disallow the selling of cape cosmetics, but there's no mention of not being allowed to make mods involving them (as long as they aren't sold).
    1 point
  3. Don't make capes. Mojang declared exclusivity over capes. Make literally any other cosmetic you want.
    1 point
  4. You need to attach capabilities to things you don't control. Like the player. Use the EntityJoinedWorldEvent for that.
    1 point
  5. Yes. It should be LazyOptional<T>. Note that <T> here is still the type of the capability, so you'll get back a LazyOptional<IItemHandler>. Which you can then call ifPresent() on and pass in a lambda that gets executed if the capability is indeed present (non-null) or you can do something like OrElse(null) and null check (prefer using ifPresent) or use OrElseThrow().
    1 point
  6. Yes. getCapability is pretty much the only thing that interface provides.
    1 point
  7. Try the most recent version of Forge for 1.14.4
    1 point
  8. I never put a license in my git repos because I never know what to license it as. I have no qualms with people looking at my code to figure out how I did what I did, or even borrowing sections (enjoy the loot func!). Its the "copy and redistribute large portions" that I don't appreciate.
    1 point
×
×
  • Create New...

Important Information

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