TModLoader
v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
◆
TileMergeAttemptWeird()
static
void
Terraria.WorldGen.TileMergeAttemptWeird
(
int
myType
,
int
changeTo
,
bool[]
exclude
,
ref
int
up
,
ref
int
down
,
ref
int
left
,
ref
int
right
,
ref
int
upLeft
,
ref
int
upRight
,
ref
int
downLeft
,
ref
int
downRight
)
inline
static
Definition at line
74958
of file
WorldGen.cs
.
74959
{
74960
if
(up > -1 && !
exclude
[up] && up !=
myType
)
74961
{
74962
up =
changeTo
;
74963
}
74964
if
(down > -1 && !
exclude
[down] && down !=
myType
)
74965
{
74966
down =
changeTo
;
74967
}
74968
if
(left > -1 && !
exclude
[left] && left !=
myType
)
74969
{
74970
left =
changeTo
;
74971
}
74972
if
(right > -1 && !
exclude
[right] && right !=
myType
)
74973
{
74974
right =
changeTo
;
74975
}
74976
if
(
upLeft
> -1 && !
exclude
[
upLeft
] &&
upLeft
!=
myType
)
74977
{
74978
upLeft
=
changeTo
;
74979
}
74980
if
(
upRight
> -1 && !
exclude
[
upRight
] &&
upRight
!=
myType
)
74981
{
74982
upRight
=
changeTo
;
74983
}
74984
if
(
downLeft
> -1 && !
exclude
[
downLeft
] &&
downLeft
!=
myType
)
74985
{
74986
downLeft
=
changeTo
;
74987
}
74988
if
(
downRight
> -1 && !
exclude
[
downRight
] &&
downRight
!=
myType
)
74989
{
74990
downRight
=
changeTo
;
74991
}
74992
}
List
Terraria
WorldGen
Generated by
1.10.0