This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useCallback, useEffect, useState } from "react"; | |
import { Catalog } from "@lingui/core"; | |
import { I18nProvider } from "@lingui/react"; | |
export type I18nLoaderProps = { | |
locales: string[]; | |
}; | |
/** | |
* This component attempts to load the first available compiled message catalog for the array of passed in locales. If |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function() { | |
var bookmarklet = { | |
init: function() { | |
this.parse(); | |
}, | |
parse: function() { | |
page = ""; | |
$(".InfiniteScroll:visible") | |
.children(".scrollable_content") | |
.find(".Track") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Potion effects mapped to their negative (inverse) implications. */ | |
public static final Map<PotionEffectType, PotionClassification> inversePotionEffectTypeImplications; | |
static { | |
HashMap<PotionEffectType, PotionClassification> temporaryMap = new HashMap<>(); | |
// SLOW | |
temporaryMap.put(PotionEffectType.SPEED, PotionClassification.HARMFUL); | |
// SPEED | |
temporaryMap.put(PotionEffectType.SLOW, PotionClassification.BENEFICIAL); | |
// SLOW_DIGGING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<map proto="1.3.0"> | |
<name>Deus ex Machinations: Keys</name> | |
<version>1.11</version> | |
<objective>Collect 10 Keystones from throughout the map and place them in the enemy's Command Center. Once 10 Keystones are placed, go through the doors and destroy the Lift Core to win the game!</objective> | |
<authors> | |
<author>bleangamer</author> | |
</authors> | |
<contributors> | |
<contributor contribution="XML">nixter1029</contributor> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<map proto="1.3.0"> | |
<name>Lys</name> | |
<version>1.0</version> | |
<objective>Destroy both of the enemy monuments whilst defending your own!</objective> | |
<authors> | |
<author contribution="Map design">Tywnis</author> | |
</authors> | |
<contributors> | |
<contributor contribution="Metadata (XML)">iamramsey</contributor> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package me.Barnyard_Owl.OvercastMimic; | |
import java.util.Iterator; | |
import java.util.logging.Logger; | |
import me.Barnyard_Owl.OvercastMimic.OvercastMimic; | |
import me.Barnyard_Owl.OvercastMimic.c; | |
import me.Barnyard_Owl.OvercastMimic.d; | |
import me.Barnyard_Owl.OvercastMimic.g; | |
import org.bukkit.Bukkit; | |
import org.bukkit.ChatColor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<map proto="1.3.0"> | |
<name>Yggdrasil</name> | |
<version>1.0</version> | |
<objective>Amass the most amount of points before time runs out!</objective> | |
<authors> | |
<author contribution="Map design">Tywnis</author> | |
</authors> | |
<contributors> | |
<contributor contribution="Metadata (XML)">iamramsey</contributor> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<map proto="1.3.0"> | |
<name>Sands of Life</name> | |
<version>1.0.1</version> | |
<objective>Amass the most amount of points before time runs out!</objective> | |
<authors> | |
<author contribution="Map design">Tywnis</author> | |
<author contribution="Map design">i2</author> | |
</authors> | |
<contributors> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<map proto="1.3.0"> | |
<name>Ice Rack</name> | |
<version>1.0.1</version> | |
<objective>Capture both of your team's wools!</objective> | |
<authors> | |
<author>Tywnis</author> | |
</authors> | |
<contributors> | |
<contributor contribution="Metadata (XML)">iamramsey</contributor> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String[] gameOverMessage = new String[4]; | |
String teamMessage = winningTeam.getColorizedName() + " wins!"; | |
int teamLength = teamMessage.length(); | |
int largestLength = 0; | |
if (teamLength > 10) { | |
largestLength = teamLength; | |
} else { | |
largestLength = 10; | |
} |
NewerOlder