OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

is there a way to use generic types in graaljs?

  • Thread starter Thread starter MCBEmodder
  • Start date Start date
M

MCBEmodder

Guest
it seems that in graaljs you cannot simply go Java.type("Foo<Bar>")

using Java.type("com.mojang.brigadier.Command<com.mojang.brigadier.ServerCommandSource>"), it says that that class does not exist (for reference this is running on a fabric 1.21 server, during the onInitalise call). this has led me to search code for how to do this.

<p>it seems that in graaljs you cannot simply go <code>Java.type("Foo<Bar>")</code></p>
<p>using <code>Java.type("com.mojang.brigadier.Command<com.mojang.brigadier.ServerCommandSource>")</code>, it says that that class does not exist (for reference this is running on a fabric 1.21 server, during the onInitalise call). this has led me to search code for how to do this.</p>
 

Latest posts

А
Replies
0
Views
1
АЛлександр Рудинский
А
A
Replies
0
Views
1
AraAraSayonnara
A
C
Replies
0
Views
1
C_Users_Struwwelpeter
C
W
Replies
0
Views
1
William Hansen
W
Top