MCPcopy Create free account
hub / github.com/Card-Forge/forge / getAllCardsNoAlt

Method getAllCardsNoAlt

forge-core/src/main/java/forge/card/CardDb.java:1049–1054  ·  view source on GitHub ↗

Returns all printings cards that exactly match the given name. The name must be the primary name of the card. "Gift of the Fae" (an Adventure name) will return nothing. "Ironfang" (Transformed card back face) will return nothing. "Ancestral Recall" will only re

(String rulesName)

Source from the content-addressed store, hash-verified

1047 * @see #getAllCards(String)
1048 */
1049 public List<PaperCard> getAllCardsNoAlt(String rulesName) {
1050 CardRules rules = getRules(rulesName, false);
1051 if(rules == null)
1052 return List.of();
1053 return allCardsByRules.get(rules);
1054 }
1055
1056 public List<PaperCard> getAllCards(CardRules rules) {
1057 return allCardsByRules.get(rules);

Callers 2

getArtCountMethod · 0.95

Calls 5

getRulesMethod · 0.95
ofMethod · 0.80
getMethod · 0.65
streamMethod · 0.65
filterMethod · 0.45

Tested by

no test coverage detected