Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Card-Forge/forge
/ getMain
Method
getMain
forge-core/src/main/java/forge/deck/Deck.java:118–121 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
116
}
117
118
public
CardPool getMain() {
119
loadDeferredSections();
120
return
parts.get(DeckSection.Main);
121
}
122
123
public
Pair<Deck, List<PaperCard>> getValid() {
124
List<PaperCard> unsupported =
new
ArrayList<>();
Callers
15
prepareAllZones
Method · 0.95
executeOwnershipChanges
Method · 0.95
showCardList
Method · 0.95
showBoxedProduct
Method · 0.95
onActivate
Method · 0.95
selectedJumpstartPackIsLast
Method · 0.95
getRewards
Method · 0.95
enter
Method · 0.95
generateBoosterPackAsDeck
Method · 0.95
generateBooster
Method · 0.95
generateBoosterByColor
Method · 0.95
getJumpstartBoosters
Method · 0.95
Calls
2
loadDeferredSections
Method · 0.95
get
Method · 0.65
Tested by
8
getRandomPrecon
Method · 0.76
createMinimalDeck
Method · 0.76
getRandomCommanderPrecon
Method · 0.76
isValidDeck
Method · 0.64
isValidCommanderDeck
Method · 0.64
testDeckLoaderCanLoadDeck
Method · 0.64
mutateObject
Method · 0.64
createChild
Method · 0.64