Survivalcraft API 1.8.2.3
v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
SpruceLeavesBlock.cs
浏览该文件的文档.
1
using
Engine
;
2
namespace
Game
{
3
public
class
SpruceLeavesBlock
:
EvergreenLeavesBlock
{
4
public
static
int
Index
= 14;
5
6
public
override
Color
GetLeavesBlockColor
(
int
value,
Terrain
terrain,
int
x,
int
y,
int
z) =>
7
BlockColorsMap
.
SpruceLeaves
.
Lookup
(terrain, x, y, z);
8
9
public
override
Color
GetLeavesItemColor
(
int
value,
DrawBlockEnvironmentData
environmentData) =>
10
BlockColorsMap
.
SpruceLeaves
.
Lookup
(environmentData);
11
}
12
}
Game.BlockColorsMap
定义
BlockColorsMap.cs:4
Game.BlockColorsMap.Lookup
Color Lookup(int temperature, int humidity)
定义
BlockColorsMap.cs:73
Game.BlockColorsMap.SpruceLeaves
static BlockColorsMap SpruceLeaves
定义
BlockColorsMap.cs:39
Game.DrawBlockEnvironmentData
定义
DrawBlockEnvironmentData.cs:5
Game.EvergreenLeavesBlock
定义
EvergreenLeavesBlock.cs:2
Game.SpruceLeavesBlock
定义
SpruceLeavesBlock.cs:3
Game.SpruceLeavesBlock.GetLeavesBlockColor
override Color GetLeavesBlockColor(int value, Terrain terrain, int x, int y, int z)
定义
SpruceLeavesBlock.cs:6
Game.SpruceLeavesBlock.Index
static int Index
定义
SpruceLeavesBlock.cs:4
Game.SpruceLeavesBlock.GetLeavesItemColor
override Color GetLeavesItemColor(int value, DrawBlockEnvironmentData environmentData)
定义
SpruceLeavesBlock.cs:9
Game.Terrain
定义
Terrain.cs:5
Engine
定义
BaseSound.cs:10
Game
定义
ContentFileBridge.cs:4
Engine.Color
定义
Color.cs:2
SurvivalcraftApi 1.8.2.3
Survivalcraft.Windows
Block
SpruceLeavesBlock.cs
制作者
1.16.1