:-)
(edited)/**
* @author Kalju
* @reason no comment for you
*/
@Overwrite
private void coolMethod(boolean cool) {
}
(edited)Minecraft
's displayGuiScreen
, call an event telling my modules a screen has been displayed, and one of my modules goes "hey, can you change the screen you're about to display to <this screen>?"
how would I go about changing the GuiScreen provided?
@Inject(method="displayGuiScreen", @At="HEAD")
public void displayGuiScreenMixin(GuiScreen screen, CallbackInfo info) {
// post event
screen = event.getScreen();
// now i want ^ that screen to be displayed and not the one from before
}
return x;
Returns x (edited)public void hello() {
int x = 5;
}
inject code that prints x (edited)ILOAD 1
GETSTATIC System.out
INVOTEVIRTUAL println(I)V
Node me = new Node(allpeople.getByDiscordTagWithSpaces(" @Brother Hung Hedgehog 🦔 "));
memestd::vector<const char*> suffix;
for (std::string::size_type i = 0; i < book.size(); ++i)
{
suffix.push_back(&book[i]);
}
auto AlphaSort = [](const char * a, const char * b)
{
return strcmp(a, b) < 0;
};
std::sort(suffix.begin(), suffix.end(), AlphaSort);
auto CommonPrefixLength = [](const char * a, const char * b)
{
int common = 0;
for (std::string::size_type i = 0;; ++i)
{
if (a[i] != b[i] || a[i] == 0)
{
return i;
}
}
};
std::string longest;
for (std::vector<const char*>::const_iterator it = suffix.begin(); it != suffix.end() - 1; ++it)
{
const int prefixLen = CommonPrefixLength(*it, *(it + 1));
if (prefixLen > longest.size())
{
longest = std::string(*it, prefixLen);
}
}
(edited)std::vector<const char*> suffix;
(edited)if (x == -0.0D)
{
x = 0.0D;
}
niceint FLAG_LENGTHCHECK_FORMAT = 0
public void addMessage(String message){
String formatted = fisEnabled(FLAG_LENGTHCHECK_FORMAT) ? String.format(format, message) : message;
[3:18 AM] DaPorkchop_: i have a mic, it works, i use it when i can
[3:19 AM] DaPorkchop_: but you have to keep in mind the fact that I'm 15, and my parents don't know shit about the internet
[3:19 AM] DaPorkchop_: so if i were to be caught talking to some random people on the internet I'd pretty much be dead
[4:15 AM] McNeo: lol well, mic usage is kind of a requirement... but, i mean, irl is irl shit, so.... all i can say is we can see what happens...
This way ^^^^^^^
door is forward
and on the left
side
HERM'SSEENFOOTAGE
(edited)