net.minecraft.util.Lazy is deprecated. is there an alternative i'm supposed to use?

@unascribed sick ty, i ended up not needing it but this is good to know for later

@bossposs yeah, Lazy got deprecated because Minecraft moved to Java 16/17 where Supplier.memoize is just part of the language now

@unascribed good feature to have. wish deprecation notices (generally, in any software) ever pointed to the blessed alternative lol

@bossposs there's probably a javadoc in the actual source that says this but nobody has PR'd such a doc to Yarn

@unascribed yeah fair. this is just a thing i've run into frustratingly often with libraries so it's become kind of a pet peeve. maybe i'll be the person to r the p

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Cybrespace

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!