MCPcopy Create free account
hub / github.com/FabricMC/Matcher / withTmp

Method withTmp

src/main/java/matcher/NameType.java:80–92  ·  view source on GitHub ↗
(boolean value)

Source from the content-addressed store, hash-verified

78 }
79
80 public NameType withTmp(boolean value) {
81 if (tmp == value) return this;
82
83 if (value) {
84 if (mapped) return MAPPED_TMP_PLAIN;
85
86 return TMP_PLAIN;
87 } else {
88 if (mapped) return MAPPED_PLAIN;
89
90 return PLAIN;
91 }
92 }
93
94 // transform between tmp <-> loctmp
95 public NameType withUnmatchedTmp(boolean value) {

Callers 2

initMethod · 0.80
updateSelectionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected