示例#1
0
 public override void Init(IDefinitionManager definitionManager)
 {
     wood  = definitionManager.GetBlockDefinitionIndex <BirchWoodBlockDefinition>();
     leave = definitionManager.GetBlockDefinitionIndex <LeavesBlockDefinition>();
     water = definitionManager.GetBlockDefinitionIndex <WaterBlockDefinition>();
 }
 public override void Init(IDefinitionManager definitionManager)
 {
     cactus = definitionManager.GetBlockDefinitionIndex <CactusBlockDefinition>();
     water  = definitionManager.GetBlockDefinitionIndex <WaterBlockDefinition>();
 }
 public override void Init(IDefinitionManager definitionManager)
 {
     wood = definitionManager.GetBlockDefinitionIndex<WoodBlockDefinition>();
     leave = definitionManager.GetBlockDefinitionIndex<OrangeLeavesBlockDefinition>();
     water = definitionManager.GetBlockDefinitionIndex<WaterBlockDefinition>();
 }
 public override void Init(IDefinitionManager definitionManager)
 {
     cactus = definitionManager.GetBlockDefinitionIndex<CactusBlockDefinition>();
     water = definitionManager.GetBlockDefinitionIndex<WaterBlockDefinition>();
 }